remove mention of Control.Monad.IO.Class (now in base)
[packages/transformers.git] / transformers.cabal
1 name:         transformers
2 version:      0.5.2.0
3 license:      BSD3
4 license-file: LICENSE
5 author:       Andy Gill, Ross Paterson
6 maintainer:   Ross Paterson <R.Paterson@city.ac.uk>
7 bug-reports:  http://hub.darcs.net/ross/transformers/issues
8 category:     Control
9 synopsis:     Concrete functor and monad transformers
10 description:
11     A portable library of functor and monad transformers, inspired by
12     the paper \"Functional Programming with Overloading and Higher-Order
13     Polymorphism\", by Mark P Jones,
14     in /Advanced School of Functional Programming/, 1995
15     (<http://web.cecs.pdx.edu/~mpj/pubs/springschool.html>).
16     .
17     This package contains:
18     .
19     * the monad transformer class (in "Control.Monad.Trans.Class")
20     .
21     * concrete functor and monad transformers, each with associated
22       operations and functions to lift operations associated with other
23       transformers.
24     .
25     The package can be used on its own in portable Haskell code, in
26     which case operations need to be manually lifted through transformer
27     stacks (see "Control.Monad.Trans.Class" for some examples).
28     Alternatively, it can be used with the non-portable monad classes in
29     the @mtl@ or @monads-tf@ packages, which automatically lift operations
30     introduced by monad transformers through other transformers.
31 build-type: Simple
32 extra-source-files:
33     changelog
34 cabal-version: >= 1.6
35
36 source-repository head
37   type: darcs
38   location: http://hub.darcs.net/ross/transformers
39
40 library
41   build-depends: base >= 2 && < 6
42   hs-source-dirs: .
43   if !impl(ghc>=7.9)
44     -- Data.Functor.Identity was moved into base-4.8.0.0 (GHC 7.10)
45     -- see also https://ghc.haskell.org/trac/ghc/ticket/9664
46     -- NB: using impl(ghc>=7.9) instead of fragile Cabal flags
47     hs-source-dirs: legacy/pre709
48     exposed-modules: Data.Functor.Identity
49   if !impl(ghc>=7.11)
50     -- modules moved into base-4.9.0 (GHC 8.0)
51     -- see https://ghc.haskell.org/trac/ghc/ticket/10773
52     -- see https://ghc.haskell.org/trac/ghc/ticket/11135
53     hs-source-dirs: legacy/pre711
54     exposed-modules:
55       Control.Monad.IO.Class
56       Data.Functor.Classes
57       Data.Functor.Compose
58       Data.Functor.Product
59       Data.Functor.Sum
60   if impl(ghc>=7.2 && <7.5)
61     -- Prior to GHC 7.5, GHC.Generics lived in ghc-prim
62     build-depends: ghc-prim
63   exposed-modules:
64     Control.Applicative.Backwards
65     Control.Applicative.Lift
66     Control.Monad.Signatures
67     Control.Monad.Trans.Accum
68     Control.Monad.Trans.Class
69     Control.Monad.Trans.Cont
70     Control.Monad.Trans.Except
71     Control.Monad.Trans.Error
72     Control.Monad.Trans.Identity
73     Control.Monad.Trans.List
74     Control.Monad.Trans.Maybe
75     Control.Monad.Trans.Reader
76     Control.Monad.Trans.RWS
77     Control.Monad.Trans.RWS.Lazy
78     Control.Monad.Trans.RWS.Strict
79     Control.Monad.Trans.Select
80     Control.Monad.Trans.State
81     Control.Monad.Trans.State.Lazy
82     Control.Monad.Trans.State.Strict
83     Control.Monad.Trans.Writer
84     Control.Monad.Trans.Writer.Lazy
85     Control.Monad.Trans.Writer.Strict
86     Data.Functor.Constant
87     Data.Functor.Reverse