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