diff options
author | Shachaf Ben-Kiki <shachaf@gmail.com> | 2007-10-08 04:11:07 +0200 |
---|---|---|
committer | Shachaf Ben-Kiki <shachaf@gmail.com> | 2007-10-08 04:11:07 +0200 |
commit | b1ec70f19a68e3a136ff9565a96c9a76d287ab2b (patch) | |
tree | f8e16a31bbd980afc2baea9a9e6d8f2de091715e | |
parent | c16f56afd0f109db8f9faa3536ae94d4ba911795 (diff) | |
download | metatile-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.hs | 4 | ||||
-rw-r--r-- | XMonad.hs | 2 |
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 @@ -1,4 +1,4 @@ -{-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE ExistentialQuantification, FlexibleInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses #-} ----------------------------------------------------------------------------- -- | |