forked from dhall-lang/dhall-haskell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdhall.cabal
292 lines (283 loc) · 10.7 KB
/
dhall.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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
Name: dhall
Version: 1.14.0
Cabal-Version: >=1.8.0.2
Build-Type: Simple
Tested-With: GHC == 8.0.1
License: BSD3
License-File: LICENSE
Copyright: 2017 Gabriel Gonzalez
Author: Gabriel Gonzalez
Maintainer: [email protected]
Bug-Reports: https://github.com/dhall-lang/dhall-haskell/issues
Synopsis: A configuration language guaranteed to terminate
Description:
Dhall is an explicitly typed configuration language that is not Turing
complete. Despite being Turing incomplete, Dhall is a real programming
language with a type-checker and evaluator.
.
Use this library to parse, type-check, evaluate, and pretty-print the Dhall
configuration language. This package also includes an executable which
type-checks a Dhall file and reduces the file to a fully evaluated normal
form.
.
Read "Dhall.Tutorial" to learn how to use this library
Category: Compiler
Extra-Source-Files:
CHANGELOG.md
Prelude/Bool/and
Prelude/Bool/build
Prelude/Bool/even
Prelude/Bool/fold
Prelude/Bool/not
Prelude/Bool/odd
Prelude/Bool/or
Prelude/Bool/show
Prelude/Double/show
Prelude/Integer/show
Prelude/List/all
Prelude/List/any
Prelude/List/build
Prelude/List/concat
Prelude/List/concatMap
Prelude/List/filter
Prelude/List/fold
Prelude/List/generate
Prelude/List/head
Prelude/List/indexed
Prelude/List/iterate
Prelude/List/last
Prelude/List/length
Prelude/List/map
Prelude/List/null
Prelude/List/replicate
Prelude/List/reverse
Prelude/List/shifted
Prelude/List/unzip
Prelude/Monoid
Prelude/Natural/build
Prelude/Natural/enumerate
Prelude/Natural/even
Prelude/Natural/fold
Prelude/Natural/isZero
Prelude/Natural/odd
Prelude/Natural/product
Prelude/Natural/show
Prelude/Natural/sum
Prelude/Natural/toInteger
Prelude/Optional/all
Prelude/Optional/any
Prelude/Optional/build
Prelude/Optional/concat
Prelude/Optional/filter
Prelude/Optional/fold
Prelude/Optional/head
Prelude/Optional/last
Prelude/Optional/length
Prelude/Optional/map
Prelude/Optional/null
Prelude/Optional/toList
Prelude/Optional/unzip
Prelude/Text/concat
Prelude/Text/concatMap
Prelude/Text/concatMapSep
Prelude/Text/concatSep
tests/format/*.dhall
tests/normalization/tutorial/combineTypes/*.dhall
tests/normalization/tutorial/projection/*.dhall
tests/normalization/*.dhall
tests/normalization/examples/Bool/and/*.dhall
tests/normalization/examples/Bool/build/*.dhall
tests/normalization/examples/Bool/even/*.dhall
tests/normalization/examples/Bool/fold/*.dhall
tests/normalization/examples/Bool/not/*.dhall
tests/normalization/examples/Bool/odd/*.dhall
tests/normalization/examples/Bool/or/*.dhall
tests/normalization/examples/Bool/show/*.dhall
tests/normalization/examples/Double/show/*.dhall
tests/normalization/examples/Integer/show/*.dhall
tests/normalization/examples/List/all/*.dhall
tests/normalization/examples/List/any/*.dhall
tests/normalization/examples/List/build/*.dhall
tests/normalization/examples/List/concat/*.dhall
tests/normalization/examples/List/concatMap/*.dhall
tests/normalization/examples/List/filter/*.dhall
tests/normalization/examples/List/fold/*.dhall
tests/normalization/examples/List/generate/*.dhall
tests/normalization/examples/List/head/*.dhall
tests/normalization/examples/List/indexed/*.dhall
tests/normalization/examples/List/iterate/*.dhall
tests/normalization/examples/List/last/*.dhall
tests/normalization/examples/List/length/*.dhall
tests/normalization/examples/List/map/*.dhall
tests/normalization/examples/List/null/*.dhall
tests/normalization/examples/List/replicate/*.dhall
tests/normalization/examples/List/reverse/*.dhall
tests/normalization/examples/List/shifted/*.dhall
tests/normalization/examples/List/unzip/*.dhall
tests/normalization/examples/Natural/build/*.dhall
tests/normalization/examples/Natural/enumerate/*.dhall
tests/normalization/examples/Natural/even/*.dhall
tests/normalization/examples/Natural/fold/*.dhall
tests/normalization/examples/Natural/isZero/*.dhall
tests/normalization/examples/Natural/odd/*.dhall
tests/normalization/examples/Natural/product/*.dhall
tests/normalization/examples/Natural/show/*.dhall
tests/normalization/examples/Natural/sum/*.dhall
tests/normalization/examples/Natural/toInteger/*.dhall
tests/normalization/examples/Optional/all/*.dhall
tests/normalization/examples/Optional/any/*.dhall
tests/normalization/examples/Optional/build/*.dhall
tests/normalization/examples/Optional/concat/*.dhall
tests/normalization/examples/Optional/filter/*.dhall
tests/normalization/examples/Optional/fold/*.dhall
tests/normalization/examples/Optional/head/*.dhall
tests/normalization/examples/Optional/last/*.dhall
tests/normalization/examples/Optional/length/*.dhall
tests/normalization/examples/Optional/map/*.dhall
tests/normalization/examples/Optional/null/*.dhall
tests/normalization/examples/Optional/toList/*.dhall
tests/normalization/examples/Optional/unzip/*.dhall
tests/normalization/examples/Text/concat/*.dhall
tests/normalization/examples/Text/concatMap/*.dhall
tests/normalization/examples/Text/concatMapSep/*.dhall
tests/normalization/examples/Text/concatSep/*.dhall
tests/normalization/simplifications/*.dhall
tests/parser/*.dhall
tests/regression/*.dhall
tests/tutorial/*.dhall
tests/typecheck/*.dhall
tests/typecheck/examples/Monoid/*.dhall
Source-Repository head
Type: git
Location: https://github.com/dhall-lang/dhall-haskell
Library
Hs-Source-Dirs: src
Build-Depends:
base >= 4.8.2.0 && < 5 ,
ansi-terminal >= 0.6.3.1 && < 0.9 ,
bytestring < 0.11,
case-insensitive < 1.3 ,
containers >= 0.5.0.0 && < 0.6 ,
contravariant < 1.5 ,
cryptonite >= 0.23 && < 1.0 ,
exceptions >= 0.8.3 && < 0.11,
directory >= 1.3 && < 1.4 ,
filepath >= 1.4 && < 1.5 ,
formatting >= 6.3 && < 6.4 ,
http-client >= 0.4.30 && < 0.6 ,
http-client-tls >= 0.2.0 && < 0.4 ,
insert-ordered-containers >= 0.2.1.0 && < 0.3 ,
lens-family-core >= 1.0.0 && < 1.3 ,
megaparsec >= 6.1.1 && < 6.6 ,
memory >= 0.14 && < 0.15,
parsers >= 0.12.4 && < 0.13,
prettyprinter >= 1.2.0.1 && < 1.3 ,
prettyprinter-ansi-terminal >= 1.1.1 && < 1.2 ,
scientific >= 0.3.0.0 && < 0.4 ,
text >= 0.11.1.0 && < 1.3 ,
transformers >= 0.2.0.0 && < 0.6 ,
unordered-containers >= 0.1.3.0 && < 0.3 ,
vector >= 0.11.0.0 && < 0.13
if !impl(ghc >= 8.0)
Build-Depends: semigroups == 0.18.*
Exposed-Modules:
Dhall,
Dhall.Context,
Dhall.Core,
Dhall.Diff,
Dhall.Import,
Dhall.Parser,
Dhall.Pretty,
Dhall.Tutorial,
Dhall.TypeCheck
Other-Modules:
Dhall.Pretty.Internal
GHC-Options: -Wall
Executable dhall
Hs-Source-Dirs: dhall
Main-Is: Main.hs
Build-Depends:
ansi-terminal ,
base >= 4 && < 5 ,
dhall ,
optparse-applicative < 0.15,
prettyprinter ,
prettyprinter-ansi-terminal >= 1.1.1 && < 1.2 ,
megaparsec ,
text >= 0.11.1.0 && < 1.3
GHC-Options: -Wall
Other-Modules:
Paths_dhall
Executable dhall-repl
Hs-Source-Dirs: dhall-repl
Main-Is: Main.hs
Build-Depends:
base >= 4 && < 5 ,
ansi-terminal ,
dhall ,
haskeline >= 0.7.3.0 && < 0.8 ,
mtl >= 2.2.1 && < 2.3 ,
repline >= 0.1.6.0 && < 0.2 ,
prettyprinter ,
prettyprinter-ansi-terminal ,
text
if !impl(ghc >= 8.0)
Build-Depends: transformers == 0.4.2.*
GHC-Options: -Wall
Executable dhall-format
Hs-Source-Dirs: dhall-format
Main-Is: Main.hs
Build-Depends:
base >= 4 && < 5 ,
ansi-terminal ,
dhall ,
megaparsec ,
optparse-applicative < 0.15,
prettyprinter >= 1.2.0.1 && < 1.3 ,
prettyprinter-ansi-terminal >= 1.1.1 && < 1.2 ,
text >= 0.11.1.0 && < 1.3
GHC-Options: -Wall
Other-Modules:
Paths_dhall
Executable dhall-hash
Hs-Source-Dirs: dhall-hash
Main-Is: Main.hs
Build-Depends:
base >= 4 && < 5 ,
dhall ,
optparse-applicative < 0.15,
megaparsec ,
text >= 0.11.1.0 && < 1.3
Other-Modules:
Paths_dhall
Test-Suite tasty
Type: exitcode-stdio-1.0
Hs-Source-Dirs: tests
Main-Is: Tests.hs
GHC-Options: -Wall
Other-Modules:
Format
Normalization
Parser
Regression
Tutorial
TypeCheck
Util
Build-Depends:
base >= 4 && < 5 ,
deepseq >= 1.2.0.1 && < 1.5 ,
dhall ,
insert-ordered-containers ,
prettyprinter ,
tasty >= 0.11.2 && < 1.2 ,
tasty-hunit >= 0.9.2 && < 0.11,
text >= 0.11.1.0 && < 1.3 ,
vector >= 0.11.0.0 && < 0.13
Test-Suite doctest
Type: exitcode-stdio-1.0
Hs-Source-Dirs: doctest
Main-Is: Main.hs
GHC-Options: -Wall
Build-Depends:
base ,
doctest >= 0.7.0 && < 0.16