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 | 5491a9fcc9d6969450a7743fd40a5661b06f61d5 (patch) | |
tree | f8e16a31bbd980afc2baea9a9e6d8f2de091715e | |
parent | 9d0ea43025822fc4585dfd0b40014dc4e892f90d (diff) | |
download | xmonad-5491a9fcc9d6969450a7743fd40a5661b06f61d5.tar.gz xmonad-5491a9fcc9d6969450a7743fd40a5661b06f61d5.tar.xz xmonad-5491a9fcc9d6969450a7743fd40a5661b06f61d5.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 >
darcs-hash:20071008021107-bffde-c482752d9acbb88df3e00e46270a52a5505f4bc7.gz
-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 #-} ----------------------------------------------------------------------------- -- | |