373f9089064977818b512d985fa9db4e8526acfa
[packages/mtl.git] / mtl.cabal
1 name:         mtl
2 version:      2.2.2
3 cabal-version: >= 1.10
4 license:      BSD3
5 license-file: LICENSE
6 author:       Andy Gill
7 maintainer:   Edward Kmett <ekmett@gmail.com>
8 category:     Control
9 synopsis:     Monad transformers, using functional dependencies
10 homepage:     http://github.com/haskell/mtl
11 bug-reports:  http://github.com/haskell/mtl/issues
12 description:
13   MTL is an implementation of monad transformers, using functional
14   dependencies for generic lifting of monadic actions.
15 build-type: Simple
16 extra-source-files: CHANGELOG.markdown, README.markdown
17 tested-with:
18   GHC==7.0.4,
19   GHC==7.2.2,
20   GHC==7.4.2,
21   GHC==7.6.3,
22   GHC==7.8.4,
23   GHC==7.10.3,
24   GHC==8.0.2,
25   GHC==8.2.2,
26   GHC==8.4.3
27
28 source-repository head
29   type: git
30   location: https://github.com/haskell/mtl.git
31
32 Library
33   exposed-modules:
34     Control.Monad.Cont
35     Control.Monad.Cont.Class
36     Control.Monad.Error
37     Control.Monad.Error.Class
38     Control.Monad.Except
39     Control.Monad.Identity
40     Control.Monad.List
41     Control.Monad.RWS
42     Control.Monad.RWS.Class
43     Control.Monad.RWS.Lazy
44     Control.Monad.RWS.Strict
45     Control.Monad.Reader
46     Control.Monad.Reader.Class
47     Control.Monad.State
48     Control.Monad.State.Class
49     Control.Monad.State.Lazy
50     Control.Monad.State.Strict
51     Control.Monad.Trans
52     Control.Monad.Writer
53     Control.Monad.Writer.Class
54     Control.Monad.Writer.Lazy
55     Control.Monad.Writer.Strict
56   build-depends: base < 5, transformers >= 0.4 && <0.6
57
58   default-language: Haskell2010
59   other-extensions:
60     CPP
61     MultiParamTypeClasses
62     FunctionalDependencies
63     FlexibleInstances
64     UndecidableInstances
65
66   -- This is a SafeHaskell safeguard (pun intended) to explicitly declare the API contract of `mtl`
67   -- GHC versions before 7.4 were hopelessly broken or incapable of SafeHaskell
68   if impl(ghc >= 7.4)
69     default-extensions: Safe
70
71   ghc-options: -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations
72
73   if impl(ghc >= 8.0)
74     ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances