-
Notifications
You must be signed in to change notification settings - Fork 0
/
haskell-in-depth.cabal
228 lines (211 loc) · 5.36 KB
/
haskell-in-depth.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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
cabal-version: 2.0
-- This file has been generated from package.yaml by hpack version 0.35.0.
--
-- see: https://github.com/sol/hpack
name: haskell-in-depth
version: 1.0
synopsis: The source repo for my follow along code from the book Haskell in Depth
description: The source repo where i put all the code from examples taught in the book "Haskell in depth" by Vitaly Bragilevsky. There are no exercises in the book, and thus the code here is from the examples that were interesting enough for me to Follow along and code through. The topic were varied and kept my interest.
author: Arjun Kathuria
maintainer: Arjun Kathuria
build-type: Simple
tested-with:
GHC == 8.10.3, GHC == 8.10.4, GHC == 9.2.3
extra-source-files:
package.yaml
library ch10
exposed-modules:
Ch10
other-modules:
Factorial
hs-source-dirs:
chapter_10
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -qg"
build-depends:
base >=4.14 && <5
default-language: Haskell2010
library radar-lib
exposed-modules:
Radar
hs-source-dirs:
chapter_02/radar
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -qg"
build-depends:
base >=4.14 && <5
default-language: Haskell2010
executable dice
main-is: dice.hs
other-modules:
Paths_haskell_in_depth
autogen-modules:
Paths_haskell_in_depth
hs-source-dirs:
chapter_05
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -qg"
build-depends:
base >=4.14 && <5
, mtl ==2.2.*
, random
default-language: Haskell2010
executable evalrpn1
main-is: evalrpn1.hs
other-modules:
EvalRPN
hs-source-dirs:
chapter_06/rpn
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -qg"
build-depends:
base >=4.14 && <5
, mtl ==2.2.*
default-language: Haskell2010
executable genSQL
main-is: genSQL.hs
other-modules:
Paths_haskell_in_depth
autogen-modules:
Paths_haskell_in_depth
hs-source-dirs:
chapter_05
other-extensions:
ViewPatterns
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -qg"
build-depends:
base >=4.14 && <5
, mtl ==2.2.*
, text ==1.2.*
default-language: Haskell2010
executable ioref
main-is: ioref.hs
other-modules:
Paths_haskell_in_depth
autogen-modules:
Paths_haskell_in_depth
hs-source-dirs:
chapter_05
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -qg"
build-depends:
base >=4.14 && <5
default-language: Haskell2010
executable radar
main-is: Main.hs
other-modules:
Radar
hs-source-dirs:
chapter_02/radar
other-extensions:
DeriveAnyClass
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -qg"
build-depends:
base >=4.14 && <5
, fmt >=0.5 && <0.7
default-language: Haskell2010
executable reader
main-is: reader.hs
other-modules:
Paths_haskell_in_depth
autogen-modules:
Paths_haskell_in_depth
hs-source-dirs:
chapter_05
other-extensions:
NamedFieldPuns
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -qg"
build-depends:
base >=4.14 && <5
, mtl ==2.2.*
default-language: Haskell2010
executable rpnexcept
main-is: EvalRPNExcept.hs
other-modules:
Paths_haskell_in_depth
autogen-modules:
Paths_haskell_in_depth
hs-source-dirs:
chapter_07/rpn
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -qg"
build-depends:
base >=4.14 && <5
, mtl ==2.2.*
, text
, text-show
default-language: Haskell2010
executable sumList
main-is: sumList.hs
other-modules:
Paths_haskell_in_depth
autogen-modules:
Paths_haskell_in_depth
hs-source-dirs:
chapter_05
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -qg"
build-depends:
base >=4.14 && <5
, mtl ==2.2.*
default-language: Haskell2010
executable vocab1
main-is: vocab.hs
other-modules:
Paths_haskell_in_depth
autogen-modules:
Paths_haskell_in_depth
hs-source-dirs:
chapter_01
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -qg"
build-depends:
base >=4.14 && <5
, text ==1.2.*
default-language: Haskell2010
executable vocab2
main-is: vocab2.hs
other-modules:
Paths_haskell_in_depth
autogen-modules:
Paths_haskell_in_depth
hs-source-dirs:
chapter_01
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -qg"
build-depends:
base >=4.14 && <5
, text ==1.2.*
default-language: Haskell2010
executable vocab3
main-is: vocab3.hs
other-modules:
Paths_haskell_in_depth
autogen-modules:
Paths_haskell_in_depth
hs-source-dirs:
chapter_01
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -qg"
build-depends:
base >=4.14 && <5
, fmt ==0.6.*
, text ==1.2.*
default-language: Haskell2010
executable weapons
main-is: weapons.hs
other-modules:
Paths_haskell_in_depth
autogen-modules:
Paths_haskell_in_depth
hs-source-dirs:
chapter_05
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -qg"
build-depends:
base >=4.14 && <5
, mtl ==2.2.*
, random
default-language: Haskell2010
benchmark factorial-bench
type: exitcode-stdio-1.0
main-is: benchmarks/fact-bench.hs
other-modules:
Paths_haskell_in_depth
autogen-modules:
Paths_haskell_in_depth
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -qg"
build-depends:
base >=4.14 && <5
, ch10
, criterion
default-language: Haskell2010