on 465cc1c help sign in
Idris-dev/idris.cabal
921 lines 35 kB history raw
1Name: idris
2Version: 0.9.17
3License: BSD3
4License-file: LICENSE
5Author: Edwin Brady
6Maintainer: Edwin Brady <eb@cs.st-andrews.ac.uk>
7Homepage: http://www.idris-lang.org/
9Stability: Beta
10Category: Compilers/Interpreters, Dependent Types
11Synopsis: Functional Programming Language with Dependent Types
12Description: Idris is a general purpose language with full dependent types.
13 It is compiled, with eager evaluation.
14 Dependent types allow types to be predicated on values,
15 meaning that some aspects of a program's behaviour can be
16 specified precisely in the type. The language is closely
17 related to Epigram and Agda. There is a tutorial at
18 <http://www.idris-lang.org/documentation>.
19 Features include:
20 .
21 * Full dependent types with dependent pattern matching
22 .
23 * where clauses, with rule, simple case expressions,
24 pattern matching let and lambda bindings
25 .
26 * Type classes, monad comprehensions
27 .
28 * do notation, idiom brackets, syntactic conveniences for lists,
29 tuples, dependent pairs
30 .
31 * Totality checking
32 .
33 * Coinductive types
34 .
35 * Indentation significant syntax, extensible syntax
36 .
37 * Tactic based theorem proving (influenced by Coq)
38 .
39 * Cumulative universes
40 .
41 * Simple foreign function interface (to C)
42 .
43 * Hugs style interactive environment
45Cabal-Version: >= 1.8
47Build-type: Custom
49Data-files: idrisdoc/styles.css
50 jsrts/Runtime-browser.js
51 jsrts/Runtime-common.js
52 jsrts/Runtime-node.js
53 jsrts/jsbn/jsbn.js
54 jsrts/jsbn/LICENSE
55 rts/arduino/idris_main.c
56 rts/idris_bitstring.c
57 rts/idris_bitstring.h
58 rts/idris_gc.c
59 rts/idris_gc.h
60 rts/idris_gmp.c
61 rts/idris_gmp.h
62 rts/idris_heap.c
63 rts/idris_heap.h
64 rts/idris_main.c
65 rts/idris_net.c
66 rts/idris_net.h
67 rts/idris_opts.c
68 rts/idris_opts.h
69 rts/idris_rts.c
70 rts/idris_rts.h
71 rts/idris_stats.c
72 rts/idris_stats.h
73 rts/idris_stdfgn.c
74 rts/idris_stdfgn.h
75 rts/mini-gmp.c
76 rts/mini-gmp.h
77 rts/libtest.c
79Extra-source-files:
80 Makefile
81 config.mk
83 rts/*.c
84 rts/*.h
85 rts/arduino/*.c
86 rts/windows/*.c
87 rts/Makefile
89 libs/Makefile
91 libs/prelude/prelude.ipkg
92 libs/prelude/Prelude/*.idr
93 libs/prelude/Decidable/*.idr
94 libs/prelude/Language/*.idr
95 libs/prelude/Language/Reflection/*.idr
96 libs/prelude/Makefile
97 libs/prelude/*.idr
99 libs/base/base.ipkg
100 libs/base/*.idr
101 libs/base/Control/*.idr
102 libs/base/Control/Monad/*.idr
103 libs/base/Data/*.idr
104 libs/base/Data/Vect/*.idr
105 libs/base/Debug/*.idr
106 libs/base/Language/Reflection/*.idr
107 libs/base/Makefile
108 libs/base/System/*.idr
109 libs/base/System/Concurrency/*.idr
110 libs/base/Syntax/*.idr
112 libs/contrib/contrib.ipkg
113 libs/contrib/Makefile
114 libs/contrib/Classes/*.idr
115 libs/contrib/Control/*.idr
116 libs/contrib/Control/Isomorphism/*.idr
117 libs/contrib/Data/*.idr
118 libs/contrib/Decidable/*.idr
119 libs/contrib/Network/*.idr
120 libs/contrib/System/Concurrency/*.idr
122 libs/effects/Makefile
123 libs/effects/effects.ipkg
124 libs/effects/Effect/*.idr
125 libs/effects/*.idr
127 test/Makefile
128 test/runtest.pl
129 test/reg001/run
130 test/reg001/*.idr
131 test/reg001/expected
132 test/reg002/run
133 test/reg002/*.idr
134 test/reg002/expected
135 test/reg003/run
136 test/reg003/*.idr
137 test/reg003/expected
138 test/reg004/run
139 test/reg004/*.idr
140 test/reg004/expected
141 test/reg005/run
142 test/reg005/*.idr
143 test/reg005/expected
144 test/reg006/run
145 test/reg006/*.idr
146 test/reg006/expected
147 test/reg007/run
148 test/reg007/*.lidr
149 test/reg007/expected
150 test/reg009/run
151 test/reg009/*.lidr
152 test/reg009/expected
153 test/reg010/run
154 test/reg010/*.idr
155 test/reg010/expected
156 test/reg011/run
157 test/reg011/*.idr
158 test/reg011/expected
159 test/reg012/run
160 test/reg012/*.lidr
161 test/reg012/expected
162 test/reg013/run
163 test/reg013/*.idr
164 test/reg013/expected
165 test/reg014/run
166 test/reg014/*.idr
167 test/reg014/expected
168 test/reg015/run
169 test/reg015/*.idr
170 test/reg015/expected
171 test/reg016/run
172 test/reg016/*.idr
173 test/reg016/expected
174 test/reg017/run
175 test/reg017/*.idr
176 test/reg017/expected
177 test/reg018/run
178 test/reg018/*.idr
179 test/reg018/expected
180 test/reg019/run
181 test/reg019/*.idr
182 test/reg019/expected
183 test/reg020/run
184 test/reg020/*.idr
185 test/reg020/expected
186 test/reg021/run
187 test/reg021/*.idr
188 test/reg021/expected
189 test/reg022/run
190 test/reg022/*.idr
191 test/reg022/expected
192 test/reg023/run
193 test/reg023/*.idr
194 test/reg023/expected
195 test/reg024/run
196 test/reg024/*.idr
197 test/reg024/expected
198 test/reg025/run
199 test/reg025/*.idr
200 test/reg025/expected
201 test/reg026/run
202 test/reg026/*.idr
203 test/reg026/expected
204 test/reg027/run
205 test/reg027/*.idr
206 test/reg027/expected
207 test/reg028/run
208 test/reg028/*.idr
209 test/reg028/expected
210 test/reg029/run
211 test/reg029/*.idr
212 test/reg029/expected
213 test/reg030/run
214 test/reg030/*.idr
215 test/reg030/expected
216 test/reg031/run
217 test/reg031/*.idr
218 test/reg031/expected
219 test/reg032/run
220 test/reg032/*.idr
221 test/reg032/expected
222 test/reg033/run
223 test/reg033/*.idr
224 test/reg033/expected
225 test/reg034/run
226 test/reg034/*.idr
227 test/reg034/expected
228 test/reg035/run
229 test/reg035/*.idr
230 test/reg035/*.lidr
231 test/reg035/expected
232 test/reg036/run
233 test/reg036/*.idr
234 test/reg036/expected
235 test/reg037/run
236 test/reg037/*.idr
237 test/reg037/expected
238 test/reg038/run
239 test/reg038/*.idr
240 test/reg038/expected
241 test/reg039/run
242 test/reg039/*.idr
243 test/reg039/expected
244 test/reg040/run
245 test/reg040/*.idr
246 test/reg040/expected
247 test/reg041/run
248 test/reg041/*.idr
249 test/reg041/expected
250 test/reg042/run
251 test/reg042/*.idr
252 test/reg042/expected
253 test/reg044/run
254 test/reg044/*.idr
255 test/reg044/expected
256 test/reg045/run
257 test/reg045/*.idr
258 test/reg045/expected
259 test/reg046/run
260 test/reg046/*.idr
261 test/reg046/expected
262 test/reg047/run
263 test/reg047/*.idr
264 test/reg047/expected
265 test/reg048/run
266 test/reg048/*.idr
267 test/reg048/expected
268 test/reg049/run
269 test/reg049/*.idr
270 test/reg049/expected
271 test/reg050/run
272 test/reg050/*.idr
273 test/reg050/expected
274 test/reg051-disabled/run
275 test/reg051-disabled/*.idr
276 test/reg051-disabled/expected
277 test/reg052/run
278 test/reg052/*.idr
279 test/reg052/expected
280 test/reg053/run
281 test/reg053/*.idr
282 test/reg053/expected
283 test/reg054/run
284 test/reg054/*.idr
285 test/reg054/expected
286 test/reg055/run
287 test/reg055/*.idr
288 test/reg055/expected
289 test/reg056/run
290 test/reg056/*.idr
291 test/reg056/expected
292 test/reg057/run
293 test/reg057/*.idr
294 test/reg057/expected
295 test/reg058/run
296 test/reg058/*.idr
297 test/reg058/expected
298 test/reg059/run
299 test/reg059/*.idr
300 test/reg059/expected
301 test/reg060/run
302 test/reg060/*.idr
303 test/reg060/expected
304 test/reg061/run
305 test/reg061/*.idr
306 test/reg061/expected
308 test/basic001/run
309 test/basic001/*.idr
310 test/basic001/expected
311 test/basic002/run
312 test/basic002/*.idr
313 test/basic002/expected
314 test/basic003/run
315 test/basic003/*.idr
316 test/basic003/expected
317 test/basic004/run
318 test/basic004/*.idr
319 test/basic004/expected
320 test/basic005/run
321 test/basic005/*.lidr
322 test/basic005/expected
323 test/basic006/run
324 test/basic006/*.idr
325 test/basic006/expected
326 test/basic007/run
327 test/basic007/*.idr
328 test/basic007/expected
329 test/basic008/run
330 test/basic008/*.idr
331 test/basic008/expected
332 test/basic009/run
333 test/basic009/*.idr
334 test/basic009/expected
335 test/basic009/B/*.idr
336 test/basic010/run
337 test/basic010/*.idr
338 test/basic010/expected
339 test/basic011/run
340 test/basic011/*.idr
341 test/basic011/expected
342 test/basic012/run
343 test/basic012/*.idr
344 test/basic012/expected
346 test/buffer001-disabled/*.idr
347 test/buffer001-disabled/run
348 test/buffer001-disabled/expected
350 test/delab001/*.idr
351 test/delab001/run
352 test/delab001/expected
353 test/delab001/input
355 test/dsl001/run
356 test/dsl001/*.idr
357 test/dsl001/expected
358 test/dsl002/run
359 test/dsl002/test
360 test/dsl002/*.idr
361 test/dsl002/expected
362 test/dsl003/run
363 test/dsl003/*.idr
364 test/dsl003/expected
366 test/effects001/run
367 test/effects001/*.idr
368 test/effects001/expected
369 test/effects001/testFile
370 test/effects002/run
371 test/effects002/*.idr
372 test/effects002/expected
373 test/effects003/run
374 test/effects003/*.idr
375 test/effects003/expected
376 test/effects003/input
378 test/error001/run
379 test/error001/*.idr
380 test/error001/expected
381 test/error002/run
382 test/error002/*.idr
383 test/error002/expected
384 test/error003/run
385 test/error003/*.idr
386 test/error003/expected
387 test/error004/run
388 test/error004/*.idr
389 test/error004/expected
390 test/error005/run
391 test/error005/*.idr
392 test/error005/expected
394 test/ffi001/run
395 test/ffi001/*.idr
396 test/ffi001/expected
397 test/ffi002/run
398 test/ffi002/*.idr
399 test/ffi002/expected
400 test/ffi003/run
401 test/ffi003/*.idr
402 test/ffi003/expected
403 test/ffi003/input
404 test/ffi004/run
405 test/ffi004/*.idr
406 test/ffi004/theType
407 test/ffi004/theOtherType
408 test/ffi004/expected
409 test/ffi005/*.idr
410 test/ffi005/run
411 test/ffi005/expected
412 test/ffi006/*.idr
413 test/ffi006/*.c
414 test/ffi006/run
415 test/ffi006/expected
417 test/idrisdoc001/run
418 test/idrisdoc001/expected
419 test/idrisdoc001/*.idr
420 test/idrisdoc001/*.ipkg
421 test/idrisdoc002/run
422 test/idrisdoc002/expected
423 test/idrisdoc002/*.idr
424 test/idrisdoc002/*.ipkg
425 test/idrisdoc003/run
426 test/idrisdoc003/expected
427 test/idrisdoc003/*.idr
428 test/idrisdoc003/*.ipkg
429 test/idrisdoc004/run
430 test/idrisdoc004/expected
431 test/idrisdoc004/*.idr
432 test/idrisdoc004/*.ipkg
433 test/idrisdoc005/run
434 test/idrisdoc005/expected
435 test/idrisdoc005/*.idr
436 test/idrisdoc005/*.ipkg
437 test/idrisdoc006/run
438 test/idrisdoc006/expected
439 test/idrisdoc006/A/fully/Qualified/NAME.idr
440 test/idrisdoc006/*.idr
441 test/idrisdoc006/*.ipkg
442 test/idrisdoc007/run
443 test/idrisdoc007/expected
444 test/idrisdoc007/*.idr
445 test/idrisdoc007/*.ipkg
446 test/idrisdoc008/run
447 test/idrisdoc008/expected
448 test/idrisdoc008/*.idr
449 test/idrisdoc008/*.ipkg
450 test/idrisdoc009/run
451 test/idrisdoc009/expected
452 test/idrisdoc009/input
453 test/idrisdoc009/*.idr
456 test/interactive001/run
457 test/interactive001/input
458 test/interactive001/*.idr
459 test/interactive001/expected
460 test/interactive002/run
461 test/interactive002/input
462 test/interactive002/*.idr
463 test/interactive002/expected
464 test/interactive003/run
465 test/interactive003/input
466 test/interactive003/*.idr
467 test/interactive003/expected
468 test/interactive004/run
469 test/interactive004/input
470 test/interactive004/*.idr
471 test/interactive004/expected
472 test/interactive005/run
473 test/interactive005/input
474 test/interactive005/*.idr
475 test/interactive005/expected
476 test/interactive006/run
477 test/interactive006/input
478 test/interactive006/*.idr
479 test/interactive006/expected
480 test/interactive007/run
481 test/interactive007/input
482 test/interactive007/expected
484 test/io001/run
485 test/io001/*.idr
486 test/io001/expected
487 test/io002/run
488 test/io002/*.idr
489 test/io002/expected
490 test/io003/run
491 test/io003/*.idr
492 test/io003/expected
494 test/literate001/run
495 test/literate001/*.lidr
496 test/literate001/expected
498 test/primitives001/run
499 test/primitives001/*.idr
500 test/primitives001/expected
501 test/primitives002/run
502 test/primitives002/expected
503 test/primitives003/run
504 test/primitives003/*.idr
505 test/primitives003/expected
507 test/proof001/run
508 test/proof001/*.idr
509 test/proof001/expected
510 test/proof002/run
511 test/proof002/*.idr
512 test/proof002/expected
513 test/proof003/run
514 test/proof003/*.idr
515 test/proof003/expected
516 test/proof004/run
517 test/proof004/*.idr
518 test/proof004/expected
519 test/proof008/run
520 test/proof008/*.idr
521 test/proof008/expected
523 test/quasiquote001/run
524 test/quasiquote001/*.idr
525 test/quasiquote001/expected
526 test/quasiquote002/run
527 test/quasiquote002/*.idr
528 test/quasiquote002/expected
529 test/quasiquote003/run
530 test/quasiquote003/*.idr
531 test/quasiquote003/expected
532 test/quasiquote004/run
533 test/quasiquote004/*.idr
534 test/quasiquote004/expected
535 test/quasiquote005/run
536 test/quasiquote005/*.idr
537 test/quasiquote005/expected
540 test/records001/run
541 test/records001/*.idr
542 test/records001/expected
543 test/records002/run
544 test/records002/*.idr
545 test/records002/expected
546 test/records003/run
547 test/records003/*.idr
548 test/records003/expected
550 test/sourceLocation001/run
551 test/sourceLocation001/*.idr
552 test/sourceLocation001/expected
554 test/sugar001/run
555 test/sugar001/*.idr
556 test/sugar001/expected
557 test/sugar002/run
558 test/sugar002/*.idr
559 test/sugar002/expected
560 test/sugar003/run
561 test/sugar003/*.idr
562 test/sugar003/expected
563 test/sugar004/run
564 test/sugar004/*.idr
565 test/sugar004/expected
566 test/sugar005/run
567 test/sugar005/*.idr
568 test/sugar005/expected
570 test/tactics001/run
571 test/tactics001/*.idr
572 test/tactics001/expected
574 test/totality001/run
575 test/totality001/*.idr
576 test/totality001/expected
577 test/totality002/run
578 test/totality002/*.idr
579 test/totality002/expected
580 test/totality003/run
581 test/totality003/*.idr
582 test/totality003/expected
583 test/totality004/run
584 test/totality004/*.idr
585 test/totality004/expected
586 test/totality005/run
587 test/totality005/*.idr
588 test/totality005/expected
589 test/totality006/run
590 test/totality006/*.idr
591 test/totality006/expected
592 test/totality007/run
593 test/totality007/*.ipkg
594 test/totality007/src/*.idr
595 test/totality007/expected
596 test/totality008/run
597 test/totality008/*.idr
598 test/totality008/expected
600 test/tutorial001/run
601 test/tutorial001/*.idr
602 test/tutorial001/expected
603 test/tutorial002/run
604 test/tutorial002/*.idr
605 test/tutorial002/expected
606 test/tutorial003/run
607 test/tutorial003/*.idr
608 test/tutorial003/expected
609 test/tutorial004/run
610 test/tutorial004/*.idr
611 test/tutorial004/expected
612 test/tutorial005/run
613 test/tutorial005/*.idr
614 test/tutorial005/expected
615 test/tutorial006/run
616 test/tutorial006/*.idr
617 test/tutorial006/expected
619 test/unique001/run
620 test/unique001/*.idr
621 test/unique001/expected
622 test/unique002/run
623 test/unique002/*.idr
624 test/unique002/expected
625 test/unique003/run
626 test/unique003/*.idr
627 test/unique003/expected
629 test/docs001/run
630 test/docs001/input
631 test/docs001/*.idr
632 test/docs001/expected
633 test/docs002/run
634 test/docs002/input
635 test/docs002/*.idr
636 test/docs002/expected
637 test/docs003/run
638 test/docs003/input
639 test/docs003/*.idr
640 test/docs003/expected
643source-repository head
644 type: git
645 location: git://github.com/idris-lang/Idris-dev.git
647Flag FFI
648 Description: Build support for libffi
649 Default: False
650 manual: True
652Flag GMP
653 Description: Use GMP for Integers
654 Default: False
655 manual: True
657Flag curses
658 Description: Use Curses to get the screen width
659 Default: False
660 manual: True
662-- This flag determines whether to show Git hashes in version strings
663-- Defaults to True because Hackage is a source release
664Flag release
665 Description: This is an official release
666 Default: False
667 manual: True
669Flag freestanding
670 Description: Build an Idris that doesn't use cabal
671 Default: False
672 manual: True
674Flag CI
675 Description: Built everything using "-Werror", meant for CI-builds only
676 Default: False
677 manual: True
679Flag execonly
680 Description: Build executables only, skip the libraries and RTS
681 Default: False
682 manual: True
684Library
685 hs-source-dirs: src
686 Exposed-modules:
687 Idris.Core.Binary
688 , Idris.Core.CaseTree
689 , Idris.Core.Constraints
690 , Idris.Core.DeepSeq
691 , Idris.Core.Elaborate
692 , Idris.Core.Evaluate
693 , Idris.Core.Execute
694 , Idris.Core.ProofState
695 , Idris.Core.ProofTerm
696 , Idris.Core.TT
697 , Idris.Core.Typecheck
698 , Idris.Core.Unify
700 , Idris.Elab.Utils
701 , Idris.Elab.Type
702 , Idris.Elab.AsPat
703 , Idris.Elab.Clause
704 , Idris.Elab.Data
705 , Idris.Elab.Record
706 , Idris.Elab.Class
707 , Idris.Elab.Instance
708 , Idris.Elab.Provider
709 , Idris.Elab.Transform
710 , Idris.Elab.Value
712 , Idris.AbsSyntax
713 , Idris.AbsSyntaxTree
714 , Idris.Apropos
715 , Idris.ASTUtils
716 , Idris.CaseSplit
717 , Idris.Chaser
718 , Idris.Colours
719 , Idris.Completion
720 , Idris.Coverage
721 , Idris.DSL
722 , Idris.DataOpts
723 , Idris.DeepSeq
724 , Idris.Delaborate
725 , Idris.Docs
726 , Idris.Docstrings
727 , Idris.ElabDecls
728 , Idris.ElabQuasiquote
729 , Idris.ElabTerm
730 , Idris.Erasure
731 , Idris.Error
732 , Idris.ErrReverse
733 , Idris.Help
734 , Idris.IBC
735 , Idris.IdeMode
736 , Idris.IdrisDoc
737 , Idris.Imports
738 , Idris.Inliner
739 , Idris.Interactive
740 , Idris.Output
741 , Idris.Parser
742 , Idris.ParseHelpers
743 , Idris.ParseOps
744 , Idris.ParseExpr
745 , Idris.ParseData
746 , Idris.PartialEval
747 , Idris.Primitives
748 , Idris.ProofSearch
749 , Idris.Prover
750 , Idris.Providers
751 , Idris.Reflection
752 , Idris.REPL
753 , Idris.REPLParser
754 , Idris.Transforms
755 , Idris.TypeSearch
756 , Idris.Unlit
757 , Idris.WhoCalls
758 , Idris.CmdOptions
760 , IRTS.BCImp
761 , IRTS.Bytecode
762 , IRTS.CodegenC
763 , IRTS.CodegenCommon
764 , IRTS.CodegenJavaScript
765 , IRTS.Exports
766 , IRTS.JavaScript.AST
767 , IRTS.Compiler
768 , IRTS.Defunctionalise
769 , IRTS.DumpBC
770 , IRTS.Inliner
771 , IRTS.Lang
772 , IRTS.LangOpts
773 , IRTS.Simplified
774 , IRTS.System
776 , Pkg.Package
777 , Util.DynamicLinker
778 , Util.ScreenSize
779 , Util.System
781 Other-modules:
782 Util.Pretty
783 , Util.Net
784 , Util.Zlib
786 , Pkg.PParser
788 -- Auto Generated
789 , Paths_idris
790 , Version_idris
792 Build-depends: base >=4 && <5
793 , annotated-wl-pprint >= 0.5.3 && < 0.6
794 , ansi-terminal < 0.7
795 , ansi-wl-pprint < 0.7
796 , base64-bytestring < 1.1
797 , binary >= 0.7 && < 0.8
798 , blaze-html >= 0.6.1.3 && < 0.8
799 , blaze-markup >= 0.5.2.1 && < 0.6.3.0
800 , bytestring < 0.11
801 , cheapskate < 0.2
802 , containers >= 0.5 && < 0.6
803 , deepseq < 1.5
804 , directory >= 1.2 && < 1.3
805 , filepath < 1.4
806 , fingertree >= 0.1 && < 0.2
807 , haskeline >= 0.7 && < 0.8
808 , lens >= 4.1.1 && < 4.8
809 , mtl >= 2.1 && < 2.3
810 , network < 2.7
811 , optparse-applicative >= 0.11 && < 0.12
812 , parsers >= 0.9 && < 0.13
813 , pretty < 1.2
814 , process < 1.3
815 , split < 0.3
816 , text < 1.3
817 , time >= 1.4 && < 1.6
818 , transformers < 0.5
819 , transformers-compat >= 0.3
820 , trifecta >= 1.1 && < 1.6
821 , uniplate >=1.6 && < 1.7
822 , unordered-containers < 0.3
823 , utf8-string < 0.4
824 , vector < 0.11
825 , vector-binary-instances < 0.3
826 , xml < 1.4
827 , zlib < 0.6
828 , safe
829 Extensions: MultiParamTypeClasses
830 , DeriveFoldable
831 , DeriveTraversable
832 , FunctionalDependencies
833 , FlexibleContexts
834 , FlexibleInstances
835 , TemplateHaskell
837 ghc-prof-options: -auto-all -caf-all
838 ghc-options: -threaded -rtsopts
840 if os(linux)
841 cpp-options: -DLINUX
842 build-depends: unix < 2.8
843 if os(freebsd)
844 cpp-options: -DFREEBSD
845 build-depends: unix < 2.8
846 if os(dragonfly)
847 cpp-options: -DDRAGONFLY
848 build-depends: unix < 2.8
849 if os(darwin)
850 cpp-options: -DMACOSX
851 build-depends: unix < 2.8
852 if os(windows)
853 cpp-options: -DWINDOWS
854 build-depends: Win32 < 2.4
855 if flag(FFI)
856 build-depends: libffi < 0.2
857 cpp-options: -DIDRIS_FFI
858 if flag(GMP)
859 build-depends: libffi < 0.2
860 cpp-options: -DIDRIS_GMP
861 if flag(curses)
862 build-depends: hscurses < 1.5
863 cpp-options: -DCURSES
864 if flag(freestanding)
865 other-modules: Target_idris
866 cpp-options: -DFREESTANDING
867 if flag(CI)
868 ghc-options: -Werror
870Executable idris
871 Main-is: Main.hs
872 hs-source-dirs: main
874 Build-depends: idris
875 , base
876 , filepath
877 , directory
878 , haskeline >= 0.7
879 , transformers
881 ghc-prof-options: -auto-all -caf-all
882 ghc-options: -threaded -rtsopts -funbox-strict-fields
884Executable idris-c
885 Main-is: Main.hs
886 hs-source-dirs: codegen/idris-c
888 Build-depends: idris
889 , base
890 , filepath
891 , haskeline >= 0.7
892 , transformers
894 ghc-prof-options: -auto-all -caf-all
895 ghc-options: -threaded -rtsopts -funbox-strict-fields
897Executable idris-javascript
898 Main-is: Main.hs
899 hs-source-dirs: codegen/idris-javascript
901 Build-depends: idris
902 , base
903 , filepath
904 , haskeline >= 0.7
905 , transformers
907 ghc-prof-options: -auto-all -caf-all
908 ghc-options: -threaded -rtsopts -funbox-strict-fields -O2
910Executable idris-node
911 Main-is: Main.hs
912 hs-source-dirs: codegen/idris-node
914 Build-depends: idris
915 , base
916 , filepath
917 , haskeline >= 0.7
918 , transformers
920 ghc-prof-options: -auto-all -caf-all
921 ghc-options: -threaded -rtsopts -funbox-strict-fields -O2