on becd8d5 help sign in
reflex/reflex.cabal
156 lines 3.8 kB history raw
1Name: reflex
2Version: 0.5.0
3Synopsis: Higher-order Functional Reactive Programming
4Description: Reflex is a high-performance, deterministic, higher-order Functional Reactive Programming system
5License: BSD3
6License-file: LICENSE
7Author: Ryan Trinkle
8Maintainer: ryan.trinkle@gmail.com
9Stability: Experimental
10Category: FRP
11Build-type: Simple
12Cabal-version: >=1.9.2
13homepage: https://github.com/reflex-frp/reflex
14bug-reports: https://github.com/reflex-frp/reflex/issues
16flag specialize-to-spidertimeline-global
17 description: Specialize all Reflex functions to the SpiderTimeline Global implementation. This may improve performance, but will disable all other implementations.
18 default: False
19 manual: True
21flag use-reflex-optimizer
22 description: Use the GHC plugin Reflex.Optimizer on some of the modules in the package. This is still experimental.
23 default: False
24 manual: True
26library
27 hs-source-dirs: src
28 build-depends:
29 MemoTrie == 0.6.*,
30 base >= 4.7 && < 4.10,
31 bifunctors >= 5.2 && < 5.5,
32 containers == 0.5.*,
33 data-default >= 0.5 && < 0.8,
34 dependent-map >= 0.2.2 && < 0.3,
35 dependent-sum == 0.3.*,
36 exception-transformers == 0.4.*,
37 ghc,
38 haskell-src-exts >= 1.16 && < 1.18,
39 haskell-src-meta == 0.6.*,
40 lens >= 4.7 && < 5,
41 monad-control >= 1.0.1 && < 1.1,
42 mtl >= 2.1 && < 2.3,
43 prim-uniq >= 0.1.0.1 && < 0.2,
44 primitive >= 0.5 && < 0.7,
45 ref-tf == 0.4.*,
46 reflection == 2.1.*,
47 semigroupoids >= 4.0 && < 6,
48 semigroups >= 0.16 && < 0.19,
49 stm == 2.4.*,
50 syb >= 0.5 && < 0.7,
51 template-haskell >= 2.9 && < 2.12,
52 these >= 0.4 && < 0.8,
53 transformers >= 0.2,
54 transformers-compat >= 0.3
56 exposed-modules:
57 Data.Functor.Misc,
58 Data.WeakBag,
59 Reflex,
60 Reflex.Class,
61 Reflex.Dynamic,
62 Reflex.Dynamic.TH,
63 Reflex.Dynamic.Uniq,
64 Reflex.DynamicWriter,
65 Reflex.FunctorMaybe,
66 Reflex.Host.Class,
67 Reflex.Optimizer,
68 Reflex.Patch,
69 Reflex.PerformEvent.Base,
70 Reflex.PerformEvent.Class,
71 Reflex.PostBuild.Class,
72 Reflex.Spider,
73 Reflex.Spider.Internal
75 other-extensions: TemplateHaskell
76 ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
77 ghc-prof-options: -auto-all
79 if flag(specialize-to-spidertimeline-global)
80 cpp-options: -DSPECIALIZE_TO_SPIDERTIMELINE_GLOBAL
81 else
82 exposed-modules: Reflex.Pure
84test-suite semantics
85 type: exitcode-stdio-1.0
86 main-is: semantics.hs
87 hs-source-dirs: test
88 ghc-options: -O2 -Wall -rtsopts
89 build-depends:
90 base,
91 bifunctors,
92 containers,
93 deepseq >= 1.3 && < 1.5,
94 dependent-map,
95 dependent-sum,
96 mtl,
97 ref-tf,
98 reflex,
99 split,
100 transformers >= 0.3
101 if flag(specialize-to-spidertimeline-global)
102 buildable: False
104test-suite hlint
105 type: exitcode-stdio-1.0
106 main-is: hlint.hs
107 hs-source-dirs: test
108 build-depends: base, hlint == 1.9.*
109 if impl(ghcjs)
110 buildable: False
112benchmark spider-bench
113 type: exitcode-stdio-1.0
114 hs-source-dirs: bench
115 main-is: Main.hs
116 ghc-options: -Wall -O2 -rtsopts
117 build-depends:
118 base,
119 criterion == 1.1.*,
120 deepseq >= 1.3 && < 1.5,
121 dependent-map,
122 dependent-sum,
123 mtl,
124 primitive,
125 reflex,
126 stm,
127 transformers >= 0.3
129benchmark saulzar-bench
130 type: exitcode-stdio-1.0
131 hs-source-dirs: bench test
132 c-sources: bench-cbits/checkCapability.c
133 main-is: RunAll.hs
134 ghc-options: -Wall -O2 -rtsopts -threaded
135 ghc-prof-options: -auto-all
136 build-depends:
137 base,
138 containers == 0.5.*,
139 criterion == 1.1.*,
140 deepseq >= 1.3 && < 1.5,
141 dependent-map,
142 dependent-sum,
143 loch-th,
144 mtl,
145 primitive,
146 process,
147 ref-tf,
148 reflex,
149 split,
150 stm,
151 time,
152 transformers >= 0.3
154source-repository head
155 type: git
156 location: https://github.com/reflex-frp/reflex