forked from polysemy-research/polysemy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
polysemy.cabal
207 lines (198 loc) · 5.78 KB
/
polysemy.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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
cabal-version: 1.24
-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: ec74258aa591e3c44193ce9761d4f282c6fb64e4647a58600716af498ff295c0
name: polysemy
version: 1.3.0.0
synopsis: Higher-order, low-boilerplate, zero-cost free monads.
description: Please see the README on GitHub at <https://github.com/isovector/polysemy#readme>
category: Language
homepage: https://github.com/isovector/polysemy#readme
bug-reports: https://github.com/isovector/polysemy/issues
author: Sandy Maguire
maintainer: sandy@sandymaguire.me
copyright: 2019 Sandy Maguire
license: BSD3
license-file: LICENSE
build-type: Custom
extra-source-files:
README.md
ChangeLog.md
source-repository head
type: git
location: https://github.com/isovector/polysemy
custom-setup
setup-depends:
Cabal
, base >=4.9 && <5
, cabal-doctest >=1.0.6 && <1.1
flag dump-core
description: Dump HTML for the core generated by GHC during compilation
manual: True
default: False
flag error-messages
description: Provide custom error messages
manual: True
default: True
library
exposed-modules:
Polysemy
Polysemy.Async
Polysemy.AtomicState
Polysemy.Bundle
Polysemy.Embed
Polysemy.Embed.Type
Polysemy.Error
Polysemy.Fail
Polysemy.Fail.Type
Polysemy.Final
Polysemy.Fixpoint
Polysemy.Input
Polysemy.Internal
Polysemy.Internal.Bundle
Polysemy.Internal.Combinators
Polysemy.Internal.CustomErrors
Polysemy.Internal.CustomErrors.Redefined
Polysemy.Internal.Fixpoint
Polysemy.Internal.Forklift
Polysemy.Internal.Kind
Polysemy.Internal.NonDet
Polysemy.Internal.Strategy
Polysemy.Internal.Tactics
Polysemy.Internal.TH.Common
Polysemy.Internal.TH.Effect
Polysemy.Internal.Union
Polysemy.Internal.Writer
Polysemy.IO
Polysemy.Law
Polysemy.Membership
Polysemy.NonDet
Polysemy.Output
Polysemy.Reader
Polysemy.Resource
Polysemy.State
Polysemy.State.Law
Polysemy.Tagged
Polysemy.Trace
Polysemy.View
Polysemy.Writer
other-modules:
Polysemy.Internal.PluginLookup
hs-source-dirs:
src
default-extensions: DataKinds DeriveFunctor FlexibleContexts GADTs LambdaCase PolyKinds RankNTypes ScopedTypeVariables StandaloneDeriving TypeApplications TypeOperators TypeFamilies UnicodeSyntax
ghc-options: -Wall
build-depends:
QuickCheck >=2.11.3 && <3
, async >=2.2 && <3
, base >=4.9 && <5
, containers >=0.5 && <0.7
, first-class-families >=0.5.0.0 && <0.9
, mtl >=2.2.2 && <3
, stm >=2 && <3
, syb >=0.7 && <0.8
, template-haskell >=2.12.0.0 && <3
, th-abstraction >=0.3.1.0 && <0.4
, transformers >=0.5.2.0 && <0.6
, type-errors >=0.2.0.0
, type-errors-pretty >=0.0.0.0 && <0.1
, unagi-chan >=0.4.0.0 && <0.5
if impl(ghc < 8.6)
default-extensions: MonadFailDesugaring TypeInType
if flag(dump-core)
ghc-options: -fplugin=DumpCore -fplugin-opt=DumpCore:core-html
build-depends:
dump-core
if impl(ghc < 8.2.2)
build-depends:
unsupported-ghc-version >1 && <1
if flag(error-messages)
cpp-options: -DCABAL_SERIOUSLY_CMON_MATE
else
cpp-options: -DNO_ERROR_MESSAGES
default-language: Haskell2010
test-suite polysemy-test
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
AlternativeSpec
AsyncSpec
BracketSpec
DoctestSpec
ErrorSpec
FailSpec
FinalSpec
FixpointSpec
FusionSpec
HigherOrderSpec
InspectorSpec
InterceptSpec
KnownRowSpec
LawsSpec
OutputSpec
ThEffectSpec
TypeErrors
ViewSpec
WriterSpec
Paths_polysemy
hs-source-dirs:
test
default-extensions: DataKinds DeriveFunctor FlexibleContexts GADTs LambdaCase PolyKinds RankNTypes ScopedTypeVariables StandaloneDeriving TypeApplications TypeOperators TypeFamilies UnicodeSyntax
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-tool-depends:
hspec-discover:hspec-discover >=2.0
build-depends:
QuickCheck >=2.11.3 && <3
, async >=2.2 && <3
, base >=4.9 && <5
, containers >=0.5 && <0.7
, doctest >=0.16.0.1 && <0.17
, first-class-families >=0.5.0.0 && <0.9
, hspec >=2.6.0 && <3
, inspection-testing >=0.4.2 && <0.5
, mtl >=2.2.2 && <3
, polysemy
, stm >=2 && <3
, syb >=0.7 && <0.8
, template-haskell >=2.12.0.0 && <3
, th-abstraction >=0.3.1.0 && <0.4
, transformers >=0.5.2.0 && <0.6
, type-errors >=0.2.0.0
, type-errors-pretty >=0.0.0.0 && <0.1
, unagi-chan >=0.4.0.0 && <0.5
if impl(ghc < 8.6)
default-extensions: MonadFailDesugaring TypeInType
default-language: Haskell2010
benchmark polysemy-bench
type: exitcode-stdio-1.0
main-is: countDown.hs
other-modules:
Poly
Paths_polysemy
hs-source-dirs:
bench
default-extensions: DataKinds DeriveFunctor FlexibleContexts GADTs LambdaCase PolyKinds RankNTypes ScopedTypeVariables StandaloneDeriving TypeApplications TypeOperators TypeFamilies UnicodeSyntax
build-depends:
QuickCheck >=2.11.3 && <3
, async >=2.2 && <3
, base >=4.9 && <5
, containers >=0.5 && <0.7
, criterion
, first-class-families >=0.5.0.0 && <0.9
, free
, freer-simple
, mtl
, polysemy
, stm >=2 && <3
, syb >=0.7 && <0.8
, template-haskell >=2.12.0.0 && <3
, th-abstraction >=0.3.1.0 && <0.4
, transformers >=0.5.2.0 && <0.6
, type-errors >=0.2.0.0
, type-errors-pretty >=0.0.0.0 && <0.1
, unagi-chan >=0.4.0.0 && <0.5
if impl(ghc < 8.6)
default-extensions: MonadFailDesugaring TypeInType
default-language: Haskell2010