From b1ec70f19a68e3a136ff9565a96c9a76d287ab2b Mon Sep 17 00:00:00 2001 From: Shachaf Ben-Kiki Date: Mon, 8 Oct 2007 04:11:07 +0200 Subject: 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 --- Operations.hs | 4 ++-- 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 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 #-} ----------------------------------------------------------------------------- -- | -- cgit v1.2.3