summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShachaf Ben-Kiki <shachaf@gmail.com>2007-10-08 04:11:07 +0200
committerShachaf Ben-Kiki <shachaf@gmail.com>2007-10-08 04:11:07 +0200
commitb1ec70f19a68e3a136ff9565a96c9a76d287ab2b (patch)
treef8e16a31bbd980afc2baea9a9e6d8f2de091715e
parentc16f56afd0f109db8f9faa3536ae94d4ba911795 (diff)
downloadmetatile-b1ec70f19a68e3a136ff9565a96c9a76d287ab2b.tar
metatile-b1ec70f19a68e3a136ff9565a96c9a76d287ab2b.zip
Add LANGUAGE pragmas
It seems that GHC 6.6 just enables -fglasgow-exts when it sees any LANGUAGE pragma, so not all of them were added; this patch adds the rest of them, which is necessary for xmonad to compile in GHC >=6.7. darcs-hash:20071008021107-bffde-c482752d9acbb88df3e00e46270a52a5505f4bc7
-rw-r--r--Operations.hs4
-rw-r--r--XMonad.hs2
2 files changed, 3 insertions, 3 deletions
diff --git a/Operations.hs b/Operations.hs
index eed426c..9acfaf0 100644
--- a/Operations.hs
+++ b/Operations.hs
@@ -1,7 +1,7 @@
{-# OPTIONS_GHC -fno-warn-orphans #-}
-{-# LANGUAGE FlexibleInstances #-}
+{-# OPTIONS_GHC -fglasgow-exts #-} -- For deriving Data/Typeable
+{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses, PatternGuards, TypeSynonymInstances #-}
--- \^^ deriving Typeable
-- --------------------------------------------------------------------------
-- |
-- Module : Operations.hs
diff --git a/XMonad.hs b/XMonad.hs
index f88e0aa..e487a81 100644
--- a/XMonad.hs
+++ b/XMonad.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE FlexibleInstances #-}
+{-# LANGUAGE ExistentialQuantification, FlexibleInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses #-}
-----------------------------------------------------------------------------
-- |