]> Git — Sourcephile - comptalang.git/blob - calculus/hcompta-calculus.cabal
Correction : Calculus.Lambda.Omega.Explicit.REPL : broutille administrative.
[comptalang.git] / calculus / hcompta-calculus.cabal
1 author: Julien Moutinho <julm+hcompta@autogeree.net>
2 bug-reports: http://doc.autogeree.net/hcompta/bugs
3 build-type: Simple
4 cabal-version: >= 1.8
5 category: Finance
6 -- data-dir: data
7 -- data-files:
8 description: Accounting calculus.
9 extra-source-files: Test.hs
10 extra-tmp-files:
11 homepage: http://doc.autogeree.net/coop/hcompta
12 license: GPL
13 license-file: COPYING
14 maintainer: Julien Moutinho <julm+hcompta@autogeree.net>
15 name: hcompta-calculus
16 stability: experimental
17 synopsis: Accounting calculus based upon a typed lambda-calculus.
18 tested-with: GHC==7.8.4
19 version: 0.0.0
20
21 source-repository head
22 location: git://git.autogeree.net/hcompta
23 type: git
24
25 Flag dev
26 Default: False
27 Description: Turn on development settings.
28
29 Flag dump
30 Default: False
31 Description: Dump some intermediate files.
32 Manual: True
33
34 Flag exe
35 Description: Build only executable.
36 Default: False
37
38 Flag lib
39 Description: Build only library.
40 Default: False
41
42 Flag prof
43 Default: False
44 Description: Turn on profiling settings.
45
46 Flag threaded
47 Default: True
48 Description: Enable threads.
49 Manual: True
50
51 Library
52 extensions: NoImplicitPrelude
53 ghc-options: -Wall -fno-warn-tabs
54 if flag(dev)
55 cpp-options: -DDEVELOPMENT
56 ghc-options:
57 -- -ddump-splices
58 -- -fno-warn-unused-do-bind -fno-warn-name-shadowing -fno-warn-missing-signatures
59 -- -fno-warn-type-defaults -fno-warn-orphans
60 else
61 ghc-options: -O2
62 if flag(dump)
63 ghc-options: -ddump-simpl -ddump-stg -ddump-to-file
64 if flag(exe)
65 Buildable: False
66 if flag(prof)
67 cpp-options: -DPROFILING
68 ghc-options: -O2 -fprof-auto
69 -- default-language: Haskell2010
70 exposed-modules:
71 Calculus.Abstraction.DeBruijn.Generalized
72 Calculus.Lambda.Omega.Explicit
73 Calculus.Lambda.Omega.Explicit.Read
74 Calculus.Lambda.Omega.Implicit
75 Control.Monad.Classes.EffectsFix
76 Control.Monad.Classes.StateFix
77 Control.Monad.Classes.Instance
78 Control.Monad.Classes.StateInstance
79 build-depends:
80 base >= 4.6 && < 5
81 , array
82 , containers >= 0.5 && < 0.6
83 , deepseq >= 1.4 && < 1.5
84 , directory
85 , filepath
86 , ghc-prim
87 -- , mtl >= 2.0
88 , monad-classes >= 0.3.1.1
89 , parsec >= 3.1.2 && < 4
90 , peano
91 , semigroups
92 , strict
93 , test-framework
94 , test-framework-hunit
95 , text
96 , text-format
97 , time
98 , transformers >= 0.4 && < 0.5
99
100 Executable hcompta-calculus-explicit
101 extensions: NoImplicitPrelude
102 ghc-options: -Wall -fno-warn-tabs
103 -main-is Calculus.Lambda.Omega.Explicit.REPL
104 if flag(threaded)
105 ghc-options: -threaded -rtsopts -with-rtsopts=-N
106 if flag(dev)
107 cpp-options: -DDEVELOPMENT
108 ghc-options:
109 else
110 ghc-options: -O2
111 if flag(prof)
112 cpp-options: -DPROFILING
113 ghc-options: -fprof-auto
114 if flag(lib)
115 Buildable: False
116 exposed-modules:
117 main-is: Calculus/Lambda/Omega/Explicit/REPL.hs
118 hs-source-dirs: .
119 build-depends:
120 base >= 4.6 && < 5
121 , ansi-terminal >= 0.4 && < 0.7
122 , bytestring
123 , containers >= 0.5 && < 0.6
124 , Decimal
125 , deepseq
126 , directory
127 , filepath
128 , haskeline >= 0.7 && < 0.8
129 , hcompta-calculus
130 , mtl >= 2.0
131 , parsec
132 , semigroups
133 , strict
134 , text
135 , text-format
136 , time
137 , transformers >= 0.4 && < 0.5