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