name: base
-version: 4.0.0.0
+version: 4.2.0.0
license: BSD3
license-file: LICENSE
maintainer: libraries@haskell.org
type: darcs
location: http://darcs.haskell.org/packages/base/
+Flag integer-simple
+ Description: Use integer-simple
+
Library {
if impl(ghc) {
- build-depends: rts, ghc-prim, integer
+ if flag(integer-simple)
+ build-depends: integer-simple
+ else
+ build-depends: integer-gmp
+ cpp-options: -DOPTIMISE_INTEGER_GCD_LCM
+ build-depends: rts, ghc-prim
exposed-modules:
Foreign.Concurrent,
GHC.Arr,
GHC.Classes,
GHC.Conc,
GHC.ConsoleHandler,
+ GHC.Constants,
GHC.Desugar,
GHC.Enum,
GHC.Environment,
GHC.Exts,
GHC.Float,
GHC.ForeignPtr,
- GHC.Handle,
+ GHC.MVar,
GHC.IO,
+ GHC.IO.IOMode,
+ GHC.IO.Buffer,
+ GHC.IO.Device,
+ GHC.IO.BufferedIO,
+ GHC.IO.FD,
+ GHC.IO.Exception,
+ GHC.IO.Encoding,
+ GHC.IO.Encoding.Latin1,
+ GHC.IO.Encoding.UTF8,
+ GHC.IO.Encoding.UTF16,
+ GHC.IO.Encoding.UTF32,
+ GHC.IO.Encoding.Types,
+ GHC.IO.Encoding.Iconv,
+ GHC.IO.Encoding.CodePage,
+ GHC.IO.Handle,
+ GHC.IO.Handle.Types,
+ GHC.IO.Handle.Internals,
+ GHC.IO.Handle.FD,
+ GHC.IO.Handle.Text,
GHC.IOBase,
+ GHC.Handle,
+ GHC.IORef,
+ GHC.IOArray,
GHC.Int,
GHC.List,
GHC.Num,
GHC.Weak,
GHC.Word,
System.Timeout
+ if os(windows)
+ exposed-modules: GHC.IO.Encoding.CodePage.Table
extensions: MagicHash, ExistentialQuantification, Rank2Types,
ScopedTypeVariables, UnboxedTuples,
ForeignFunctionInterface, UnliftedFFITypes,
Data.Fixed,
Data.Foldable
Data.Function,
+ Data.Functor,
Data.HashTable,
Data.IORef,
Data.Int,
cbits/WCsubst.c
cbits/Win32Utils.c
cbits/consUtils.c
- cbits/dirUtils.c
+ cbits/iconv.c
cbits/inputReady.c
cbits/selectUtils.c
+ cbits/primFloat.c
include-dirs: include
includes: HsBase.h
- install-includes: HsBase.h HsBaseConfig.h WCsubst.h dirUtils.h consUtils.h Typeable.h
+ install-includes: HsBase.h HsBaseConfig.h WCsubst.h consUtils.h Typeable.h
if os(windows) {
extra-libraries: wsock32, user32, shell32
}