diff options
author | Shachaf Ben-Kiki <shachaf@gmail.com> | 2007-10-08 04:21:41 +0200 |
---|---|---|
committer | Shachaf Ben-Kiki <shachaf@gmail.com> | 2007-10-08 04:21:41 +0200 |
commit | 21bdffc82de962541e663ef01a851bea95dd2d6c (patch) | |
tree | 8cbe87bd20ad0fbe022ee1b347cb8c34302b0422 | |
parent | 6d85e32796d53746a023efcec23ff3735d3d8d7e (diff) | |
download | XMonadContrib-21bdffc82de962541e663ef01a851bea95dd2d6c.tar.gz XMonadContrib-21bdffc82de962541e663ef01a851bea95dd2d6c.tar.xz XMonadContrib-21bdffc82de962541e663ef01a851bea95dd2d6c.zip |
Add LANGUAGE pragams
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:20071008022141-bffde-c7ab0ae3d58eab8707b5f428a7236540bae5b4e1.gz
-rw-r--r-- | Accordion.hs | 2 | ||||
-rw-r--r-- | Circle.hs | 3 | ||||
-rw-r--r-- | Combo.hs | 3 | ||||
-rw-r--r-- | Dishes.hs | 2 | ||||
-rw-r--r-- | DragPane.hs | 3 | ||||
-rw-r--r-- | FlexibleManipulate.hs | 3 | ||||
-rw-r--r-- | Grid.hs | 2 | ||||
-rw-r--r-- | LayoutHints.hs | 2 | ||||
-rw-r--r-- | LayoutModifier.hs | 3 | ||||
-rw-r--r-- | LayoutScreens.hs | 2 | ||||
-rw-r--r-- | MagicFocus.hs | 2 | ||||
-rw-r--r-- | Magnifier.hs | 1 | ||||
-rw-r--r-- | Maximize.hs | 3 | ||||
-rw-r--r-- | Mosaic.hs | 1 | ||||
-rw-r--r-- | MosaicAlt.hs | 2 | ||||
-rw-r--r-- | NoBorders.hs | 2 | ||||
-rw-r--r-- | ResizableTile.hs | 2 | ||||
-rw-r--r-- | Roledex.hs | 2 | ||||
-rw-r--r-- | Spiral.hs | 2 | ||||
-rw-r--r-- | Square.hs | 3 | ||||
-rw-r--r-- | SwitchTrans.hs | 1 | ||||
-rw-r--r-- | Tabbed.hs | 3 | ||||
-rw-r--r-- | ThreeColumns.hs | 2 | ||||
-rw-r--r-- | TwoPane.hs | 2 | ||||
-rw-r--r-- | WindowNavigation.hs | 2 | ||||
-rw-r--r-- | WorkspaceDir.hs | 3 |
26 files changed, 34 insertions, 24 deletions
diff --git a/Accordion.hs b/Accordion.hs index b2fbec8..1edec42 100644 --- a/Accordion.hs +++ b/Accordion.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses, TypeSynonymInstances #-} ----------------------------------------------------------------------------- -- | @@ -1,4 +1,5 @@ -{-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses, TypeSynonymInstances #-} + ----------------------------------------------------------------------------- -- | -- Module : XMonadContrib.Circle @@ -1,5 +1,4 @@ -{-# OPTIONS_GHC -fallow-undecidable-instances #-} -{-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses, UndecidableInstances #-} ----------------------------------------------------------------------------- -- | @@ -1,4 +1,4 @@ -{-# LANGUAGE FlexibleInstances #-} +{-# OPTIONS_GHC -fglasgow-exts #-} ----------------------------------------------------------------------------- -- | -- Module : XMonadContrib.Dishes diff --git a/DragPane.hs b/DragPane.hs index fa73c0b..0546cb0 100644 --- a/DragPane.hs +++ b/DragPane.hs @@ -1,4 +1,5 @@ -{-# LANGUAGE FlexibleInstances #-} +{-# OPTIONS_GHC -fglasgow-exts #-} -- For deriving Data/Typeable +{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses, PatternGuards, TypeSynonymInstances #-} ----------------------------------------------------------------------------- -- | diff --git a/FlexibleManipulate.hs b/FlexibleManipulate.hs index 778859c..c85706a 100644 --- a/FlexibleManipulate.hs +++ b/FlexibleManipulate.hs @@ -1,4 +1,5 @@ -{-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE FlexibleInstances, TypeSynonymInstances #-} + ----------------------------------------------------------------------------- -- | -- Module : XMonadContrib.FlexibleManipulate @@ -1,4 +1,4 @@ -{-# LANGUAGE FlexibleInstances #-} +{-# OPTIONS_GHC -fglasgow-exts #-} ----------------------------------------------------------------------------- -- | -- Module : XMonadContrib.Grid diff --git a/LayoutHints.hs b/LayoutHints.hs index 67816e2..e804102 100644 --- a/LayoutHints.hs +++ b/LayoutHints.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses, TypeSynonymInstances #-} ----------------------------------------------------------------------------- -- | diff --git a/LayoutModifier.hs b/LayoutModifier.hs index 59258f9..1bf276f 100644 --- a/LayoutModifier.hs +++ b/LayoutModifier.hs @@ -1,4 +1,5 @@ -{-# LANGUAGE MultiParamTypeClasses #-} +{-# -fglasgow-exts #-} -- For deriving Data/Typeable +{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses, PatternGuards #-} ----------------------------------------------------------------------------- -- | diff --git a/LayoutScreens.hs b/LayoutScreens.hs index 06947d2..85dad37 100644 --- a/LayoutScreens.hs +++ b/LayoutScreens.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE FlexibleContexts, FlexibleInstances, MultiParamTypeClasses #-} ----------------------------------------------------------------------------- -- | diff --git a/MagicFocus.hs b/MagicFocus.hs index 8da3439..4154049 100644 --- a/MagicFocus.hs +++ b/MagicFocus.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE FlexibleContexts, FlexibleInstances, MultiParamTypeClasses, TypeSynonymInstances #-} ----------------------------------------------------------------------------- -- | diff --git a/Magnifier.hs b/Magnifier.hs index 6bd8306..49ea131 100644 --- a/Magnifier.hs +++ b/Magnifier.hs @@ -1,4 +1,5 @@ {-# OPTIONS_GHC -fglasgow-exts #-} + ----------------------------------------------------------------------------- -- | -- Module : XMonadContrib.Magnifier diff --git a/Maximize.hs b/Maximize.hs index 2322c54..db9d265 100644 --- a/Maximize.hs +++ b/Maximize.hs @@ -1,4 +1,5 @@ -{-# LANGUAGE FlexibleInstances #-} +{-# OPTIONS_GHC -fglasgow-exts #-} -- For deriving Data/Typeable +{-# LANGUAGE FlexibleContexts, FlexibleInstances, MultiParamTypeClasses, TypeSynonymInstances #-} ----------------------------------------------------------------------------- -- | @@ -1,4 +1,5 @@ {-# OPTIONS -fglasgow-exts #-} + ----------------------------------------------------------------------------- -- | -- Module : XMonadContrib.Mosaic diff --git a/MosaicAlt.hs b/MosaicAlt.hs index 14a1828..a5308e3 100644 --- a/MosaicAlt.hs +++ b/MosaicAlt.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE GeneralizedNewtypeDeriving #-} +{-# OPTIONS -fglasgow-exts #-} ----------------------------------------------------------------------------- -- | -- Module : XMonadContrib.MosaicAlt diff --git a/NoBorders.hs b/NoBorders.hs index 30944c3..16bd534 100644 --- a/NoBorders.hs +++ b/NoBorders.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE FlexibleContexts, FlexibleInstances, MultiParamTypeClasses, TypeSynonymInstances #-} ----------------------------------------------------------------------------- -- | diff --git a/ResizableTile.hs b/ResizableTile.hs index 650e3fa..f4617d2 100644 --- a/ResizableTile.hs +++ b/ResizableTile.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE GeneralizedNewtypeDeriving, FlexibleInstances #-} +{-# OPTIONS_GHC -fglasgow-exts #-} ----------------------------------------------------------------------------- -- | -- Module : XMonadContrib.ResizableTile @@ -1,4 +1,4 @@ -{-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE FlexibleInstances, TypeSynonymInstances, MultiParamTypeClasses #-} ----------------------------------------------------------------------------- -- | @@ -1,4 +1,4 @@ -{-# LANGUAGE MultiParamTypeClasses #-} +{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses #-} ----------------------------------------------------------------------------- -- | @@ -1,4 +1,5 @@ -{-# LANGUAGE MultiParamTypeClasses #-} +{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses #-} + ----------------------------------------------------------------------------- -- | -- Module : XMonadContrib.Square diff --git a/SwitchTrans.hs b/SwitchTrans.hs index c4be6cd..5683436 100644 --- a/SwitchTrans.hs +++ b/SwitchTrans.hs @@ -1,4 +1,5 @@ {-# OPTIONS_GHC -fglasgow-exts #-} + ----------------------------------------------------------------------------- -- | -- Module : XMonadContrib.SwitchTrans @@ -1,4 +1,5 @@ -{-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses, PatternGuards, TypeSynonymInstances #-} + ----------------------------------------------------------------------------- -- | -- Module : XMonadContrib.Tabbed diff --git a/ThreeColumns.hs b/ThreeColumns.hs index 683af88..1475586 100644 --- a/ThreeColumns.hs +++ b/ThreeColumns.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses #-} ----------------------------------------------------------------------------- -- | @@ -1,4 +1,4 @@ -{-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses #-} ----------------------------------------------------------------------------- -- | diff --git a/WindowNavigation.hs b/WindowNavigation.hs index a219a54..5410a15 100644 --- a/WindowNavigation.hs +++ b/WindowNavigation.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE GeneralizedNewtypeDeriving, FlexibleInstances #-} +{-# OPTIONS -fglasgow-exts #-} ----------------------------------------------------------------------------- -- | -- Module : XMonadContrib.WorkspaceDir diff --git a/WorkspaceDir.hs b/WorkspaceDir.hs index 97e5f94..3fe46d5 100644 --- a/WorkspaceDir.hs +++ b/WorkspaceDir.hs @@ -1,4 +1,5 @@ -{-# LANGUAGE FlexibleInstances #-} +{-# OPTIONS_GHC -fglasgow-exts #-} -- For deriving Data/Typeable +{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses #-} ----------------------------------------------------------------------------- -- | |