f79433afbfe16ae5d8dc720b5e4982fd688ce9a4
[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 classes for 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 a collection of monad classes, extending the 'transformers'
14   package, using functional dependencies for generic lifting of
15   monadic actions.
16 build-type: Simple
17 extra-source-files: CHANGELOG.markdown, README.markdown
18 tested-with:
19   GHC==7.0.4,
20   GHC==7.2.2,
21   GHC==7.4.2,
22   GHC==7.6.3,
23   GHC==7.8.4,
24   GHC==7.10.3,
25   GHC==8.0.2,
26   GHC==8.2.2,
27   GHC==8.4.3,
28   GHC==8.6.1
29
30 source-repository head
31   type: git
32   location: https://github.com/haskell/mtl.git
33
34 Library
35   exposed-modules:
36     Control.Monad.Cont
37     Control.Monad.Cont.Class
38     Control.Monad.Error
39     Control.Monad.Error.Class
40     Control.Monad.Except
41     Control.Monad.Identity
42     Control.Monad.List
43     Control.Monad.RWS
44     Control.Monad.RWS.Class
45     Control.Monad.RWS.Lazy
46     Control.Monad.RWS.Strict
47     Control.Monad.Reader
48     Control.Monad.Reader.Class
49     Control.Monad.State
50     Control.Monad.State.Class
51     Control.Monad.State.Lazy
52     Control.Monad.State.Strict
53     Control.Monad.Trans
54     Control.Monad.Writer
55     Control.Monad.Writer.Class
56     Control.Monad.Writer.Lazy
57     Control.Monad.Writer.Strict
58   build-depends: base < 5, transformers >= 0.4 && <0.6
59
60   default-language: Haskell2010
61   other-extensions:
62     CPP
63     MultiParamTypeClasses
64     FunctionalDependencies
65     FlexibleInstances
66     UndecidableInstances
67
68   -- This is a SafeHaskell safeguard (pun intended) to explicitly declare the API contract of `mtl`
69   -- GHC versions before 7.4 were hopelessly broken or incapable of SafeHaskell
70   if impl(ghc >= 7.4)
71     default-extensions: Safe
72
73   ghc-options: -Wall -fno-warn-unused-imports -fno-warn-warnings-deprecations
74
75   if impl(ghc >= 8.0)
76     ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances