add the Numeric and Prelude modules, and add ioError/catch to System.IO.Error
[packages/haskell2010.git] / haskell2010.cabal
1 name:           haskell2010
2 version:        1.0.0.0
3 license:        BSD3
4 license-file:   LICENSE
5 maintainer:     libraries@haskell.org
6 bug-reports: http://hackage.haskell.org/trac/ghc/newticket?component=libraries/haskell2010
7 synopsis:       Compatibility with Haskell 2010
8 category:   Haskell2010
9 description:
10         This package provides exactly the library modules defined by
11         the Haskell 2010 standard.
12 homepage:       http://www.haskell.org/definition/
13 build-type:     Simple
14 Cabal-Version: >= 1.6
15
16 Library
17     build-depends:      base >= 4.3 && < 5, array
18
19     -- this hack adds a dependency on ghc-prim for Haddock.  The GHC
20     -- build system doesn't seem to track transitive dependencies when
21     -- running Haddock, and if we don't do this then Haddock can't
22     -- find the docs for things defined in ghc-prim.
23     if impl(ghc) {
24        build-depends: ghc-prim
25     }
26
27     exposed-modules:
28         Data.Array,
29         Data.Char,
30         Data.Complex,
31         System.IO,
32         System.IO.Error,
33         Data.Ix,
34         Data.List,
35         Data.Maybe,
36         Control.Monad,
37         Data.Ratio,
38         System.Environment,
39         System.Exit,
40         Numeric,
41         Prelude,
42
43         -- FFI modules
44         Data.Int,
45         Data.Word,
46         Data.Bits,
47
48         Foreign,
49         Foreign.Ptr,
50         Foreign.ForeignPtr,
51         Foreign.StablePtr,
52         Foreign.Storable,
53         Foreign.C,
54         Foreign.C.Error,
55         Foreign.C.String,
56         Foreign.C.Types,
57         Foreign.Marshal,
58         Foreign.Marshal.Alloc,
59         Foreign.Marshal.Array,
60         Foreign.Marshal.Error,
61         Foreign.Marshal.Utils
62     exposed: False
63     ghc-options: -package-name haskell2010
64     extensions: PackageImports, CPP
65
66 source-repository head
67     type:     darcs
68     location: http://darcs.haskell.org/packages/haskell2010/
69