packages feed

haskell2010-1.1.2.0: haskell2010.cabal

name:           haskell2010
version:        1.1.2.0
-- GHC 7.6.1 released with 1.1.1.0
license:        BSD3
license-file:   LICENSE
maintainer:     libraries@haskell.org
bug-reports:    http://ghc.haskell.org/trac/ghc/newticket?component=libraries/haskell2010
synopsis:       Compatibility with Haskell 2010
category:       Haskell2010, Prelude
homepage:       http://www.haskell.org/onlinereport/haskell2010/
build-type:     Simple
Cabal-Version:  >=1.10
description:
    This package provides exactly the library modules defined by
    the <http://www.haskell.org/onlinereport/haskell2010/ Haskell 2010 standard>.

extra-source-files:
    changelog.md

source-repository head
    type:     git
    location: http://git.haskell.org/packages/haskell2010.git

source-repository this
    type:     git
    location: http://git.haskell.org/packages/haskell2010.git
    tag:      haskell2010-1.1.2.0-release

Library
    default-language: Haskell2010
    other-extensions:
        BangPatterns
        CPP
        NoImplicitPrelude
        Safe
        Trustworthy
    if impl(ghc)
        other-extensions: Safe, Trustworthy

    build-depends:
        array >= 0.5 && < 0.6,
        base  >= 4.7 && < 4.8

    -- this hack adds a dependency on ghc-prim for Haddock.  The GHC
    -- build system doesn't seem to track transitive dependencies when
    -- running Haddock, and if we don't do this then Haddock can't
    -- find the docs for things defined in ghc-prim.
    if impl(ghc)
        build-depends: ghc-prim >= 0.3.1 && < 0.4

    -- haskell2010 is a "hidden" package
    exposed: False

    -- The modules below are listed in the order they occur in the
    -- "Haskell 2010 Language Report" table of contents.
    exposed-modules:
        -- chapter 9 "Standard Prelude"
        -- http://www.haskell.org/onlinereport/haskell2010/haskellch9.html
        Prelude

        -- Part II "The Haskell 2010 Libraries"
        -- http://www.haskell.org/onlinereport/haskell2010/haskellpa2.html
        --
        -- chapter [13..23]
        Control.Monad
        Data.Array
        Data.Bits
        Data.Char
        Data.Complex
        Data.Int
        Data.Ix
        Data.List
        Data.Maybe
        Data.Ratio
        Data.Word

        -- FFI modules, chapter [24..37]
        Foreign
        Foreign.C
        Foreign.C.Error
        Foreign.C.String
        Foreign.C.Types
        Foreign.ForeignPtr
        Foreign.Marshal
        Foreign.Marshal.Alloc
        Foreign.Marshal.Array
        Foreign.Marshal.Error
        Foreign.Marshal.Utils
        Foreign.Ptr
        Foreign.StablePtr
        Foreign.Storable

        -- chapter [38..42]
        Numeric
        System.Environment
        System.Exit
        System.IO
        System.IO.Error

    ghc-options: -Wall