patch applied (packages/base): Use explicit language extensions & remove extension fields from base.cabal

Simon Peyton Jones simonpj at microsoft.com
Fri Jan 28 13:08:28 CET 2011


Fri Jan 28 04:07:19 PST 2011  simonpj at microsoft.com
  * 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.

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

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=packages/base;a=darcs_commitdiff;h=20110128120719-1287e-fe44c94d2e24c8b7d12e39458d6bc7470ba8133a.gz



More information about the Cvs-libraries mailing list