-
Notifications
You must be signed in to change notification settings - Fork 644
/
idris.cabal
478 lines (428 loc) · 15.1 KB
/
idris.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
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
Cabal-Version: 2.4
Name: idris
Version: 1.3.4
License: BSD-3-Clause
License-file: LICENSE
Author: Edwin Brady
Maintainer: Niklas Larsson <niklas@mm.st>
Homepage: https://www.idris-lang.org/
Bug-reports: https://github.com/idris-lang/Idris-dev/issues
Stability: Beta
Category: Compilers/Interpreters, Dependent Types
Synopsis: Functional Programming Language with Dependent Types
Description: Idris is a general purpose language with full dependent types.
It is compiled, with eager evaluation.
Dependent types allow types to be predicated on values,
meaning that some aspects of a program's behaviour can be
specified precisely in the type. The language is closely
related to Epigram and Agda. There is a tutorial at
<https://www.idris-lang.org/documentation>.
Features include:
.
* Full, first class, dependent types with dependent pattern matching
.
* where clauses, with rule, case expressions,
pattern matching let and lambda bindings
.
* Interfaces (similar to type classes), monad comprehensions
.
* do notation, idiom brackets, syntactic conveniences for lists,
tuples, dependent pairs
.
* Totality checking
.
* Coinductive types
.
* Indentation significant syntax, extensible syntax
.
* Cumulative universes
.
* Simple foreign function interface (to C)
.
* Hugs style interactive environment
Build-type: Custom
Tested-With: GHC == 8.6.5, GHC == 8.8.4
-- NOTE: due to https://github.com/haskell/cabal/issues/6125 the use of ** is
-- heavily discouraged.
Data-files: idrisdoc/styles.css
jsrts/jsbn/*.js
jsrts/*.js
jsrts/jsbn/LICENSE
rts/Makefile
rts/*.c
rts/seL4/*.c
rts/arduino/*.c
rts/windows/*.c
rts/windows/*.h
rts/*.h
rts/seL4/CMakeLists.txt
rts/seL4/README.md
Extra-doc-files:
CHANGELOG.md
CITATION.md
CONTRIBUTING.md
CONTRIBUTORS
README.md
RELEASE-CHECKS.md
idris-tutorial.pdf
man/idris.1
samples/effects/*.idr
samples/misc/*.idr
samples/tutorial/*.idr
samples/ST/*.idr
samples/ST/Graphics/*.idr
samples/ST/Net/*.idr
samples/misc/*.lidr
-- extra-source-files is generated by Setup.hs using `git --ls-files`.
Extra-source-files:
Makefile
config.mk
custom.mk-alldeps
mkpkg.sh
stack-shell.nix
stack.yaml
stylize.sh
win-release.sh
benchmarks/*.pl
benchmarks/fasta/*.idr
benchmarks/fasta/*.ipkg
benchmarks/pidigits/*.idr
benchmarks/pidigits/*.ipkg
benchmarks/quasigroups/*.idr
benchmarks/quasigroups/*.ipkg
benchmarks/trivial/*.idr
benchmarks/trivial/*.ipkg
benchmarks/quasigroups/board
icons/*.png
icons/*.ico
icons/*.rc
icons/*.svg
icons/*.xml
libs/**/*.idr
libs/**/*.ipkg
libs/**/*.txt
libs/Makefile
libs/base/Makefile
libs/contrib/Makefile
libs/effects/Makefile
libs/prelude/Makefile
libs/pruviloj/Makefile
scripts/generate-multi-ghc-travis-template
scripts/runidris
scripts/runidris-node
src/.ghci
test/*.md
test/*.hs
test/**/*.idr
test/**/*.lidr
test/**/*.ipkg
test/**/*.out
test/**/*.sh
test/**/*.c
test/**/*.h
test/**/*.in
test/**/*.txt
test/**/*.js
test/base001/Makefile
test/ffi004/theOtherType
test/ffi004/theType
test/scripts/timeout
source-repository head
type: git
location: git://github.com/idris-lang/Idris-dev.git
custom-setup
setup-depends:
Cabal >= 2.4 && <= 3.4,
base >= 4 && <5,
directory,
filepath,
process
Flag FFI
Description: Build support for libffi
Default: False
manual: True
Flag GMP
Description: Use GMP for Integers
Default: False
manual: True
-- This flag determines whether to show Git hashes in version strings
-- Defaults to True because Hackage is a source release
Flag release
Description: This is an official release
Default: False
manual: True
Flag freestanding
Description: Build an Idris that doesn't use cabal
Default: False
manual: True
Flag CI
Description: Built everything using "-Werror", meant for CI-builds only
Default: False
manual: True
Flag execonly
Description: Build executables only, skip the libraries and RTS
Default: False
manual: True
Library
hs-source-dirs: src
Exposed-modules:
Idris.Core.Binary
, Idris.Core.CaseTree
, Idris.Core.Constraints
, Idris.Core.DeepSeq
, Idris.Core.Elaborate
, Idris.Core.Evaluate
, Idris.Core.Execute
, Idris.Core.ProofState
, Idris.Core.ProofTerm
, Idris.Core.TT
, Idris.Core.Typecheck
, Idris.Core.Unify
, Idris.Core.WHNF
, Idris.Elab.Utils
, Idris.Elab.Type
, Idris.Elab.AsPat
, Idris.Elab.Clause
, Idris.Elab.Data
, Idris.Elab.Record
, Idris.Elab.Interface
, Idris.Elab.Implementation
, Idris.Elab.Provider
, Idris.Elab.RunElab
, Idris.Elab.Transform
, Idris.Elab.Value
, Idris.Elab.Term
, Idris.Elab.Quasiquote
, Idris.Elab.Rewrite
, Idris.REPL.Browse
, Idris.AbsSyntax
, Idris.AbsSyntaxTree
, Idris.Apropos
, Idris.ASTUtils
, Idris.CaseSplit
, Idris.Chaser
, Idris.Colours
, Idris.Completion
, Idris.Coverage
, Idris.DSL
, Idris.DataOpts
, Idris.DeepSeq
, Idris.Delaborate
, Idris.Directives
, Idris.Docs
, Idris.Docstrings
, Idris.ElabDecls
, Idris.Erasure
, Idris.Error
, Idris.ErrReverse
, Idris.Help
, Idris.IBC
, Idris.IdeMode
, Idris.IdrisDoc
, Idris.Imports
, Idris.Info
, Idris.Info.Show
, Idris.Inliner
, Idris.Interactive
, Idris.Output
, Idris.Main
, Idris.ModeCommon
, Idris.Options
, Idris.Parser
, Idris.Parser.Data
, Idris.Parser.Expr
, Idris.Parser.Helpers
, Idris.Parser.Ops
, Idris.Parser.Stack
, Idris.PartialEval
, Idris.Primitives
, Idris.ProofSearch
, Idris.Prover
, Idris.Providers
, Idris.Reflection
, Idris.REPL
, Idris.REPL.Parser
, Idris.REPL.Commands
, Idris.Termination
, Idris.Transforms
, Idris.TypeSearch
, Idris.Unlit
, Idris.WhoCalls
, Idris.CmdOptions
, IRTS.Bytecode
, IRTS.CodegenC
, IRTS.CodegenCommon
, IRTS.CodegenJavaScript
, IRTS.Exports
, IRTS.JavaScript.AST
, IRTS.JavaScript.Name
, IRTS.JavaScript.Codegen
, IRTS.JavaScript.LangTransforms
, IRTS.JavaScript.Specialize
, IRTS.JavaScript.PrimOp
, IRTS.Compiler
, IRTS.Defunctionalise
, IRTS.DumpBC
, IRTS.Inliner
, IRTS.Lang
, IRTS.LangOpts
, IRTS.Portable
, IRTS.Simplified
, IRTS.System
, Idris.Package
, Idris.Package.Common
, Idris.Package.Parser
, Util.DynamicLinker
, Util.ScreenSize
, Util.System
Other-modules:
Util.Pretty
, Util.Net
, Paths_idris
, Version_idris
, Tools_idris
, BuildFlags_idris
-- Auto Generated
Autogen-modules: Paths_idris
, Version_idris
, Tools_idris
, BuildFlags_idris
Build-depends: base >=4 && <5
, aeson >= 0.6 && < 2.2
, annotated-wl-pprint >= 0.7 && < 0.8
, ansi-terminal < 0.12 || ^>= 1.0
, ansi-wl-pprint < 0.7
, array >= 0.4.0.1 && < 0.6
, base64-bytestring < 1.3
, binary >= 0.8.4.1 && < 0.9
, blaze-html >= 0.6.1.3 && < 0.10
, blaze-markup >= 0.5.2.1 && < 0.10
, bytestring < 0.12
, cheapskate >= 0.1.1.2 && < 0.2
, code-page >= 0.1 && < 0.3
, containers >= 0.5 && < 0.7
, deepseq < 1.5
, directory >= 1.2.2.0 && < 1.2.3.0 || > 1.2.3.0
, filepath < 1.5
, fingertree >= 0.1.4.1 && < 0.2
, haskeline >= 0.8 && < 0.9
, ieee754 >= 0.7 && < 0.9
, megaparsec >= 7.0.4 && < 10
, mtl >= 2.1 && < 2.4
, network >= 2.7 && < 3.1.5
, optparse-applicative >= 0.13 && < 0.18
, parser-combinators >= 1.0.0
, pretty < 1.2
, process < 1.7
, regex-tdfa >= 1.2
, safe >= 0.3.9
, split < 0.3
, terminal-size < 0.4
, text >=1.2.1.0 && < 1.4 || ^>= 2.0.2
, time >= 1.4 && < 2.0
, transformers >= 0.5 && < 0.7
, uniplate >=1.6 && < 1.7
, unordered-containers < 0.3
, utf8-string < 1.1
, vector < 0.14
, vector-binary-instances < 0.3
, zip-archive > 0.2.3.5 && < 0.5
, fsnotify >= 0.2 && < 0.5
, async < 2.3
if !impl(ghc >= 8.0)
Build-Depends: semigroups == 0.18.*
, fail == 4.9.0.*
Default-Language: Haskell2010
ghc-prof-options: -auto-all -caf-all
if os(windows)
build-depends: mintty >= 0.1 && < 0.2
, Win32 < 2.7
else
build-depends: unix < 2.9
if flag(FFI)
build-depends: libffi < 0.3
cpp-options: -DIDRIS_FFI
if flag(GMP)
build-depends: libffi < 0.3
extra-libraries: gmp
cpp-options: -DIDRIS_GMP
if flag(freestanding)
other-modules: Target_idris
autogen-modules: Target_idris
cpp-options: -DFREESTANDING
if flag(CI)
ghc-options: -Werror
Executable idris
Main-is: Main.hs
hs-source-dirs: main
Build-depends: idris
, base
, filepath
, directory
, haskeline >= 0.7
, transformers
Default-Language: Haskell2010
ghc-prof-options: -auto-all -caf-all
ghc-options: -threaded -rtsopts -funbox-strict-fields -with-rtsopts=-I0
Test-suite regression-and-feature-tests
Type: exitcode-stdio-1.0
Main-is: TestRun.hs
Other-modules: TestData
hs-source-dirs: test
Build-depends: idris
, base
, containers
, process
, time
, filepath
, directory
, haskeline >= 0.7
, optparse-applicative >= 0.13 && < 0.18
, tagged
, tasty >= 0.8
, tasty-golden >= 2.0
, tasty-rerun >= 1.0.0
, bytestring
, transformers
Default-Language: Haskell2010
ghc-prof-options: -auto-all -caf-all
ghc-options: -threaded -rtsopts -with-rtsopts=-N -funbox-strict-fields
Executable idris-codegen-c
Main-is: Main.hs
autogen-modules: Paths_idris
other-modules: Paths_idris
hs-source-dirs: codegen/idris-codegen-c
Build-depends: idris
, base
, filepath
, haskeline >= 0.7
, transformers
Default-Language: Haskell2010
ghc-prof-options: -auto-all -caf-all
ghc-options: -threaded -rtsopts -funbox-strict-fields
Executable idris-codegen-javascript
Main-is: Main.hs
autogen-modules: Paths_idris
other-modules: Paths_idris
hs-source-dirs: codegen/idris-codegen-javascript
Build-depends: idris
, base
, filepath
, haskeline >= 0.7
, transformers
Default-Language: Haskell2010
ghc-prof-options: -auto-all -caf-all
ghc-options: -threaded -rtsopts -funbox-strict-fields
Executable idris-codegen-node
Main-is: Main.hs
autogen-modules: Paths_idris
other-modules: Paths_idris
hs-source-dirs: codegen/idris-codegen-node
Build-depends: idris
, base
, filepath
, haskeline >= 0.7
, transformers
Default-Language: Haskell2010
ghc-prof-options: -auto-all -caf-all
ghc-options: -threaded -rtsopts -funbox-strict-fields