Use explicit language extensions & remove extension fields from base.cabal
authorsimonpj@microsoft.com <unknown>
Fri, 28 Jan 2011 12:07:19 +0000 (12:07 +0000)
committersimonpj@microsoft.com <unknown>
Fri, 28 Jan 2011 12:07:19 +0000 (12:07 +0000)
commit41e8fba828acbae1751628af50849f5352b27873
tree2c90de2a8503d633898633479258f4e2953738e6
parentac0439db2ece671089cec9ade21754c3ad22c134
Use explicit language extensions & remove extension fields from base.cabal

Add explicit {-# LANGUAGE xxx #-} pragmas to each module, that say
what extensions that module uses.  This makes it clearer where
different extensions are used in the (large, variagated) base package.

Now base.cabal doesn't need any extensions field

Thanks to Bas van Dijk for doing all the work.
160 files changed:
Control/Applicative.hs
Control/Category.hs
Control/Concurrent.hs
Control/Concurrent/Chan.hs
Control/Concurrent/MVar.hs
Control/Concurrent/QSem.hs
Control/Concurrent/QSemN.hs
Control/Concurrent/SampleVar.hs
Control/Exception.hs
Control/Exception/Base.hs
Control/Monad.hs
Control/Monad/Fix.hs
Control/Monad/ST.hs
Control/Monad/ST/Lazy.hs
Control/OldException.hs
Data/Bits.hs
Data/Bool.hs
Data/Char.hs
Data/Complex.hs
Data/Data.hs
Data/Dynamic.hs
Data/Either.hs
Data/Eq.hs
Data/Fixed.hs
Data/Foldable.hs
Data/Functor.hs
Data/HashTable.hs
Data/IORef.hs
Data/Int.hs
Data/Ix.hs
Data/List.hs
Data/Maybe.hs
Data/Monoid.hs
Data/Ord.hs
Data/Ratio.hs
Data/STRef.hs
Data/String.hs
Data/Traversable.hs
Data/Tuple.hs
Data/Typeable.hs
Data/Typeable.hs-boot
Data/Unique.hs
Data/Version.hs
Data/Word.hs
Debug/Trace.hs
Foreign.hs
Foreign/C.hs
Foreign/C/Error.hs
Foreign/C/String.hs
Foreign/C/Types.hs
Foreign/Concurrent.hs
Foreign/ForeignPtr.hs
Foreign/Marshal.hs
Foreign/Marshal/Alloc.hs
Foreign/Marshal/Array.hs
Foreign/Marshal/Error.hs
Foreign/Marshal/Pool.hs
Foreign/Marshal/Utils.hs
Foreign/Ptr.hs
Foreign/StablePtr.hs
Foreign/Storable.hs
GHC/Arr.lhs
GHC/Base.lhs
GHC/Classes.hs
GHC/Conc.lhs
GHC/Conc/IO.hs
GHC/Conc/Signal.hs
GHC/Conc/Sync.lhs
GHC/Conc/Windows.hs
GHC/ConsoleHandler.hs
GHC/Constants.hs
GHC/Desugar.hs
GHC/Enum.lhs
GHC/Environment.hs
GHC/Err.lhs
GHC/Err.lhs-boot
GHC/Exception.lhs
GHC/Exts.hs
GHC/Float.lhs
GHC/ForeignPtr.hs
GHC/IO.hs
GHC/IO.hs-boot
GHC/IO/Buffer.hs
GHC/IO/BufferedIO.hs
GHC/IO/Device.hs
GHC/IO/Encoding.hs
GHC/IO/Encoding/CodePage.hs
GHC/IO/Encoding/Iconv.hs
GHC/IO/Encoding/Latin1.hs
GHC/IO/Encoding/Types.hs
GHC/IO/Encoding/UTF16.hs
GHC/IO/Encoding/UTF32.hs
GHC/IO/Encoding/UTF8.hs
GHC/IO/Exception.hs
GHC/IO/Exception.hs-boot
GHC/IO/FD.hs
GHC/IO/Handle.hs
GHC/IO/Handle.hs-boot
GHC/IO/Handle/FD.hs
GHC/IO/Handle/FD.hs-boot
GHC/IO/Handle/Internals.hs
GHC/IO/Handle/Text.hs
GHC/IO/Handle/Types.hs
GHC/IO/IOMode.hs
GHC/IOArray.hs
GHC/IOBase.hs
GHC/IORef.hs
GHC/Int.hs
GHC/List.lhs
GHC/MVar.hs
GHC/Num.lhs
GHC/PArr.hs
GHC/Pack.lhs
GHC/Ptr.lhs
GHC/Read.lhs
GHC/Real.lhs
GHC/ST.lhs
GHC/STRef.lhs
GHC/Show.lhs
GHC/Show.lhs-boot
GHC/Stable.lhs
GHC/Storable.lhs
GHC/TopHandler.lhs
GHC/Unicode.hs
GHC/Unicode.hs-boot
GHC/Weak.lhs
GHC/Word.hs
NHC/PosixTypes.hsc
Numeric.hs
Prelude.hs
System/CPUTime.hsc
System/Environment.hs
System/Event/Clock.hsc
System/Event/Control.hs
System/Event/EPoll.hsc
System/Event/IntMap.hs
System/Event/KQueue.hsc
System/Event/Manager.hs
System/Event/Poll.hsc
System/Exit.hs
System/IO.hs
System/IO/Error.hs
System/IO/Unsafe.hs
System/Info.hs
System/Mem.hs
System/Mem/StableName.hs
System/Mem/Weak.hs
System/Posix/Internals.hs
System/Posix/Types.hs
System/Timeout.hs
Text/ParserCombinators/ReadP.hs
Text/ParserCombinators/ReadPrec.hs
Text/Printf.hs
Text/Read.hs
Text/Read/Lex.hs
Text/Show.hs
Text/Show/Functions.hs
Unsafe/Coerce.hs
base.cabal
codepages/MakeTable.hs