aboutsummaryrefslogtreecommitdiffstats
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
commit5491a9fcc9d6969450a7743fd40a5661b06f61d5 (patch)
treef8e16a31bbd980afc2baea9a9e6d8f2de091715e
parent9d0ea43025822fc4585dfd0b40014dc4e892f90d (diff)
downloadxmonad-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.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 #-}
-----------------------------------------------------------------------------
-- |