From 9ff003308ac84b72d0d686df49c06164bf495565 Mon Sep 17 00:00:00 2001 From: Shachaf Ben-Kiki Date: Mon, 8 Oct 2007 13:52:29 +0200 Subject: Fix more LANGUAGE pragmas This patch should go after my other one -- I'd missed some files that used -fglasgow-exts. darcs-hash:20071008115229-bffde-3a04bb6952976f30fbc42190d71b29633f0617f7.gz --- Dishes.hs | 3 ++- Grid.hs | 3 ++- MosaicAlt.hs | 4 +++- ResizableTile.hs | 4 +++- WindowNavigation.hs | 4 +++- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Dishes.hs b/Dishes.hs index 8faff4e..cb09d9d 100644 --- a/Dishes.hs +++ b/Dishes.hs @@ -1,4 +1,5 @@ -{-# OPTIONS_GHC -fglasgow-exts #-} +{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses #-} + ----------------------------------------------------------------------------- -- | -- Module : XMonadContrib.Dishes diff --git a/Grid.hs b/Grid.hs index b7fe41b..09da525 100644 --- a/Grid.hs +++ b/Grid.hs @@ -1,4 +1,5 @@ -{-# OPTIONS_GHC -fglasgow-exts #-} +{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses #-} + ----------------------------------------------------------------------------- -- | -- Module : XMonadContrib.Grid diff --git a/MosaicAlt.hs b/MosaicAlt.hs index a5308e3..73e4f46 100644 --- a/MosaicAlt.hs +++ b/MosaicAlt.hs @@ -1,4 +1,6 @@ -{-# OPTIONS -fglasgow-exts #-} +{-# OPTIONS_GHC -fglasgow-exts #-} -- For deriving Data/Typeable +{-# LANGUAGE GeneralizedNewtypeDeriving, MultiParamTypeClasses, TypeSynonymInstances #-} + ----------------------------------------------------------------------------- -- | -- Module : XMonadContrib.MosaicAlt diff --git a/ResizableTile.hs b/ResizableTile.hs index f4617d2..9179136 100644 --- a/ResizableTile.hs +++ b/ResizableTile.hs @@ -1,4 +1,6 @@ -{-# OPTIONS_GHC -fglasgow-exts #-} +{-# OPTIONS_GHC -fglasgow-exts #-} -- For deriving Data/Typeable +{-# LANGUAGE FlexibleInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses #-} + ----------------------------------------------------------------------------- -- | -- Module : XMonadContrib.ResizableTile diff --git a/WindowNavigation.hs b/WindowNavigation.hs index 5410a15..f6eaec8 100644 --- a/WindowNavigation.hs +++ b/WindowNavigation.hs @@ -1,4 +1,6 @@ -{-# OPTIONS -fglasgow-exts #-} +{-# OPTIONS_GHC -fglasgow-exts #-} -- For deriving Data/Typeable +{-# LANGUAGE FlexibleInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, TypeSynonymInstances #-} + ----------------------------------------------------------------------------- -- | -- Module : XMonadContrib.WorkspaceDir -- cgit v1.2.3