From c5490dd212ab4d1cce6cd9a095560f30eb4cf6d3 Mon Sep 17 00:00:00 2001 From: Adam Vogt Date: Fri, 26 Jun 2009 04:54:57 +0200 Subject: Replace most -fglasgow-exts with specific LANGUAGE pragmas Ignore-this: 2274fdd689b0576a76d9f3373e9c7159 darcs-hash:20090626025457-1499c-1d7bdb15732bb3d45e853e140f66fe38fc4fcafa.gz --- XMonad/Layout/MultiToggle.hs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'XMonad/Layout/MultiToggle.hs') diff --git a/XMonad/Layout/MultiToggle.hs b/XMonad/Layout/MultiToggle.hs index eb753d4..a5dbb48 100644 --- a/XMonad/Layout/MultiToggle.hs +++ b/XMonad/Layout/MultiToggle.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -fglasgow-exts #-} +{-# LANGUAGE DeriveDataTypeable, ExistentialQuantification, Rank2Types, MultiParamTypeClasses, FunctionalDependencies, FlexibleInstances, FlexibleContexts, PatternGuards #-} ----------------------------------------------------------------------------- -- | @@ -92,10 +92,7 @@ import Data.Maybe -- > transform _ x k = k (Mirror x) -- -- Note, you need to put @{-\# LANGUAGE DeriveDataTypeable \#-}@ at the --- beginning of your file (ghc 6.8 only; with ghc 6.6 you can use --- @{-\# OPTIONS_GHC -fglasgow-exts \#-}@ instead) to be able to --- derive "Data.Typeable". --- +-- beginning of your file. -- | A class to identify custom transformers (and look up transforming -- functions by type). -- cgit v1.2.3