-
Notifications
You must be signed in to change notification settings - Fork 27
/
adjunctions.cabal
122 lines (105 loc) · 3.32 KB
/
adjunctions.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
name: adjunctions
category: Data Structures, Adjunctions
version: 4.4
license: BSD2
cabal-version: >= 1.10
license-file: LICENSE
author: Edward A. Kmett
maintainer: Edward A. Kmett <ekmett@gmail.com>
stability: provisional
homepage: http://github.com/ekmett/adjunctions/
bug-reports: http://github.com/ekmett/adjunctions/issues
copyright: Copyright (C) 2011-2014 Edward A. Kmett
synopsis: Adjunctions and representable functors
description: Adjunctions and representable functors.
build-type: Simple
extra-source-files:
.gitignore
.hlint.yaml
.vim.custom
CHANGELOG.markdown
README.markdown
tested-with: 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.4
, GHC == 8.10.7
, GHC == 9.0.2
, GHC == 9.2.8
, GHC == 9.4.5
, GHC == 9.6.2
source-repository head
type: git
location: git://github.com/ekmett/adjunctions.git
library
hs-source-dirs: src
other-extensions:
CPP
FunctionalDependencies
FlexibleContexts
MultiParamTypeClasses
Rank2Types
UndecidableInstances
build-depends:
array >= 0.3.0.2 && < 0.7,
base >= 4 && < 5,
comonad >= 4 && < 6,
containers >= 0.3 && < 0.8,
contravariant >= 1 && < 2,
distributive >= 0.6.2 && < 1,
free >= 4 && < 6,
mtl >= 2.0.1 && < 2.4,
profunctors >= 4 && < 6,
tagged >= 0.7 && < 1,
semigroupoids >= 4 && < 7,
transformers >= 0.2 && < 0.7,
transformers-compat >= 0.3 && < 1
if impl(ghc < 7.6)
build-depends: ghc-prim
if !impl(ghc >= 7.10)
build-depends: void >= 0.5.5.1 && < 1
if !impl(ghc >= 8.0)
build-depends: semigroups >= 0.11 && < 1
exposed-modules:
Control.Comonad.Representable.Store
Control.Comonad.Trans.Adjoint
Control.Monad.Representable.Reader
Control.Monad.Representable.State
Control.Monad.Trans.Adjoint
Control.Monad.Trans.Contravariant.Adjoint
Control.Monad.Trans.Conts
Data.Functor.Adjunction
Data.Functor.Contravariant.Adjunction
Data.Functor.Contravariant.Rep
Data.Functor.Rep
Data.Functor1
Data.Functor1.Applied
ghc-options: -Wall
default-language: Haskell2010
if impl(ghc >= 8.0)
-- See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#base-4.9.0.0
ghc-options: -Wcompat -Wnoncanonical-monad-instances
ghc-options: -Wno-trustworthy-safe -Wno-inline-rule-shadowing
if !impl(ghc >= 8.8)
ghc-options: -Wnoncanonical-monadfail-instances
if impl(ghc >= 8.6)
ghc-options: -Wno-star-is-type
test-suite spec
type: exitcode-stdio-1.0
hs-source-dirs: tests
build-tool-depends: hspec-discover:hspec-discover >=2 && <3
build-depends:
adjunctions,
base >= 4 && < 5,
distributive >= 0.5.1 && < 1,
generic-deriving >= 1.11 && < 2,
hspec >= 2 && < 3
main-is: Spec.hs
other-modules: GenericsSpec
ghc-options: -Wall -threaded -rtsopts
default-language: Haskell2010