-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.yaml
128 lines (106 loc) · 2.7 KB
/
package.yaml
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
name: haskell-in-depth
version: 1.0
author: Arjun Kathuria
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.
extra-source-files:
- package.yaml
tested-with: GHC == 8.10.3, GHC == 8.10.4, GHC == 9.2.3
dependencies: base >= 4.14 && <5
ghc-options: -rtsopts -threaded "-with-rtsopts=-N -qg"
language: Haskell2010
executables:
vocab1:
source-dirs: chapter_01
main: vocab.hs
dependencies:
- text >=1.2 && <1.3
vocab2:
source-dirs: chapter_01
main: vocab2.hs
dependencies:
- text >=1.2 && <1.3
vocab3:
source-dirs: chapter_01
main: vocab3.hs
dependencies:
- text >=1.2 && <1.3
- fmt >= 0.6 && <0.7
radar:
source-dirs: chapter_02/radar
main: Main.hs
other-modules: Radar
other-extensions:
- DeriveAnyClass
dependencies:
- fmt >=0.5 && <0.7
# Chapter 5
reader:
source-dirs: chapter_05
main: reader.hs
other-extensions:
- NamedFieldPuns
dependencies:
- mtl >=2.2 && <2.3
genSQL:
source-dirs: chapter_05
main: genSQL.hs
other-extensions:
- ViewPatterns
dependencies:
- text >=1.2 && <1.3
- mtl >=2.2 && <2.3
sumList:
source-dirs: chapter_05
main: sumList.hs
dependencies:
- mtl >=2.2 && <2.3
weapons:
source-dirs: chapter_05
main: weapons.hs
dependencies:
- mtl >=2.2 && <2.3
- random
dice:
source-dirs: chapter_05
main: dice.hs
dependencies:
- mtl >=2.2 && <2.3
- random
ioref:
source-dirs: chapter_05
main: ioref.hs
#chapter 6
evalrpn1:
source-dirs: chapter_06/rpn
main: evalrpn1.hs
other-modules: [EvalRPN]
dependencies:
- mtl >=2.2 && <2.3
rpnexcept:
source-dirs: chapter_07/rpn
main: EvalRPNExcept.hs
dependencies:
- mtl >=2.2 && <2.3
- text
- text-show
#Chapter 10
internal-libraries:
radar-lib:
source-dirs: chapter_02/radar
exposed-modules: Radar
other-modules: []
ch10:
source-dirs: chapter_10
exposed-modules: Ch10
other-modules: [Factorial]
benchmarks:
factorial-bench:
type: exitcode-stdio-1.0
main-is: benchmarks/fact-bench.hs
build-depends:
- criterion
- ch10