-
Notifications
You must be signed in to change notification settings - Fork 6
/
effpee.cabal
176 lines (160 loc) · 3.41 KB
/
effpee.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
cabal-version: 2.4
name: effpee
version: 0.1.4
license: AGPL-3.0-only
license-file: etc/LICENSE-AGPLv3.txt
maintainer: Susan Potter
synopsis: Exercises for teaching typed functional programming
category: Education
description: Exercises for teaching typed functional programming
homepage: https://github.com/mbbx6spp/effpee
bug-reports: https://github.com/mbbx6spp/effpee/issues
build-type: Simple
tested-with: GHC == 8.4.4
extra-source-files: CHANGELOG.org
-- source-repository HEAD
-- location: ./.
common base
build-depends:
base < 5 && >= 4
, containers >= 0.4
, array >= 0.4
, aeson
, bytestring
, generic-deriving
, lens-aeson
, lens
, mtl
, text
, text-show
, time
, http-types
, invariant
, semigroupoids
, uuid
, wai
ghc-options:
-Wall
-Wno-dodgy-exports
-fwarn-incomplete-uni-patterns
-fno-warn-unused-binds
-fno-warn-unused-do-bind
-fno-warn-unused-imports
-fno-warn-type-defaults
-ferror-spans
default-extensions:
NoImplicitPrelude
InstanceSigs
OverloadedStrings
ScopedTypeVariables
DeriveGeneric
KindSignatures
default-language:
Haskell2010
common tests
other-modules:
Effpee.Test
Effpee.ADTTest
Effpee.USMoneyTest
Effpee.OptionTest
Effpee.ManyTest
Effpee.NonEmptyTest
Effpee.OrTest
Effpee.PairTest
Effpee.DeferredTest
Effpee.StreamTest
Effpee.FunctorTest
Effpee.CardsTest
build-depends:
effpee
, base < 5 && >= 4
, text
, text-show
, HUnit >= 1.5
, hedgehog >= 0.6.1
, tasty >= 1
, tasty-hunit >= 0.9
, tasty-hedgehog >= 0.2
, webdriver
ghc-options:
-threaded
default-extensions:
NoImplicitPrelude
InstanceSigs
OverloadedStrings
ScopedTypeVariables
default-language:
Haskell2010
common apps
build-depends:
base < 5 && >= 4
, aeson
, aeson-lens
, attoparsec
, bytestring
, effpee
, json-stream
, http-types
, lens
, io-streams
, streaming
, streaming-bytestring
, streaming-utils
, wai
, warp
, wreq
library
import:
base
hs-source-dirs:
src
exposed-modules:
Effpee
Effpee.ADT
Effpee.USMoney
Effpee.Option
Effpee.Many
Effpee.NonEmpty
Effpee.Or
Effpee.Pair
Effpee.Deferred
Effpee.Stream
Effpee.Functor
Effpee.Predicate
Effpee.Validation
-- Illustrative exercises/koans
Effpee.Cards
-- FizzBuzz modules
Effpee.FizzBuzz.Predicate
-- HTTP modules
Effpee.HTTP.Simple
-- Composition module
Effpee.Composition.Arrows
Effpee.Composition.Functions
Effpee.Composition.IndependentEffects
--Effpee.Composition.DependentEffects
-- Transforms exercises
Effpee.Transforms.Story
-- Universal Algebra / Set Theory
Effpee.Algebraic.Set
test-suite all
import: tests
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: TastyLoader.hs
executable http-simple
import: base, apps
hs-source-dirs: exe/http-simple
main-is: Main.hs
executable streaming
import: base, apps
hs-source-dirs: exe/streaming
other-modules:
Effpee.Streaming.Exercises
Effpee.Streaming.JSON
ghc-options:
-Wall
-rtsopts
-threaded
-fprof-auto
main-is: Main.hs