on aa-dependent-sum-0.5 help sign in
reflex/reflex.cabal
365 lines 8.7 kB history raw
1Name: reflex
2Version: 0.5
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://reflex-frp.org
14bug-reports: https://github.com/reflex-frp/reflex/issues
15extra-source-files:
16 README.md
17 Quickref.md
19flag use-reflex-optimizer
20 description: Use the GHC plugin Reflex.Optimizer on some of the modules in the package. This is still experimental.
21 default: False
22 manual: True
24flag use-template-haskell
25 description: Use template haskell to generate lenses
26 default: True
27 manual: True
29flag debug-trace-events
30 description: Add instrumentation that outputs the stack trace of the definition of an event whenever it is subscribed to. Warning: It is very slow!
31 default: False
32 manual: True
34flag fast-weak
35 description: Use the primitive implementation of FastWeak in GHCJS; note that this requires GHCJS to be built with FastWeak and FastWeakBag present in the RTS, which is not the default
36 default: False
37 manual: True
39library
40 hs-source-dirs: src
41 build-depends:
42 MemoTrie == 0.6.*,
43 base >= 4.9 && < 4.13,
44 bifunctors >= 5.2 && < 5.6,
45 comonad,
46 constraints-extras >= 0.2,
47 containers >= 0.5 && < 0.7,
48 data-default >= 0.5 && < 0.8,
49 dependent-map >= 0.2.4 && < 0.3,
50 exception-transformers == 0.4.*,
51 lens >= 4.7 && < 5,
52 monad-control >= 1.0.1 && < 1.1,
53 monoidal-containers == 0.4.*,
54 mtl >= 2.1 && < 2.3,
55 prim-uniq >= 0.1.0.1 && < 0.2,
56 primitive >= 0.5 && < 0.7,
57 random == 1.1.*,
58 ref-tf == 0.4.*,
59 reflection == 2.1.*,
60 semigroupoids >= 4.0 && < 6,
61 semigroups >= 0.16 && < 0.19,
62 stm >= 2.4 && < 2.6,
63 syb >= 0.5 && < 0.8,
64 these >= 0.4 && < 0.7.6,
65 time >= 1.4 && < 1.9,
66 transformers >= 0.2,
67 transformers-compat >= 0.3,
68 unbounded-delays >= 0.1.0.0 && < 0.2
70 exposed-modules:
71 Data.AppendMap,
72 Data.FastMutableIntMap,
73 Data.FastWeakBag,
74 Data.Functor.Misc,
75 Data.Map.Misc,
76 Data.WeakBag,
77 Reflex,
78 Reflex.Class,
79 Reflex.Adjustable.Class,
80 Reflex.BehaviorWriter.Base,
81 Reflex.BehaviorWriter.Class,
82 Reflex.Collection,
83 Reflex.Dynamic,
84 Reflex.Dynamic.Uniq,
85 Reflex.DynamicWriter,
86 Reflex.DynamicWriter.Base,
87 Reflex.DynamicWriter.Class,
88 Reflex.EventWriter,
89 Reflex.EventWriter.Base,
90 Reflex.EventWriter.Class,
91 Reflex.FastWeak,
92 Reflex.FunctorMaybe,
93 Reflex.Host.Class,
94 Reflex.Network,
95 Reflex.NotReady.Class,
96 Reflex.Patch,
97 Reflex.Patch.Class,
98 Reflex.Patch.DMap,
99 Reflex.Patch.DMapWithMove,
100 Reflex.Patch.IntMap,
101 Reflex.Patch.Map,
102 Reflex.Patch.MapWithMove,
103 Reflex.PerformEvent.Base,
104 Reflex.PerformEvent.Class,
105 Reflex.PostBuild.Base,
106 Reflex.PostBuild.Class,
107 Reflex.Profiled,
108 Reflex.Pure,
109 Reflex.Query.Base,
110 Reflex.Query.Class,
111 Reflex.Requester.Base,
112 Reflex.Requester.Class,
113 Reflex.Spider,
114 Reflex.Spider.Internal,
115 Reflex.Time,
116 Reflex.TriggerEvent.Base,
117 Reflex.TriggerEvent.Class,
118 Reflex.Widget.Basic,
119 Reflex.Workflow
121 ghc-options: -Wall -fwarn-redundant-constraints -fwarn-tabs -funbox-strict-fields -O2 -fspecialise-aggressively
123 if flag(debug-trace-events)
124 cpp-options: -DDEBUG_TRACE_EVENTS
125 build-depends: bytestring
127 if flag(use-reflex-optimizer)
128 cpp-options: -DUSE_REFLEX_OPTIMIZER
129 build-depends: ghc
130 exposed-modules: Reflex.Optimizer
132 if flag(use-template-haskell)
133 cpp-options: -DUSE_TEMPLATE_HASKELL
134 build-depends:
135 dependent-sum >= 0.5,
136 haskell-src-exts >= 1.16 && < 1.21,
137 haskell-src-meta >= 0.6 && < 0.9,
138 template-haskell >= 2.9 && < 2.15
139 exposed-modules:
140 Reflex.Dynamic.TH
141 other-extensions: TemplateHaskell
142 else
143 build-depends:
144 dependent-sum >= 0.5
146 if flag(fast-weak) && impl(ghcjs)
147 cpp-options: -DGHCJS_FAST_WEAK
149 if impl(ghcjs)
150 build-depends: ghcjs-base
152test-suite semantics
153 type: exitcode-stdio-1.0
154 main-is: semantics.hs
155 hs-source-dirs: test
156 ghc-options: -O2 -Wall -rtsopts
157 build-depends:
158 base,
159 bifunctors,
160 containers,
161 deepseq >= 1.3 && < 1.5,
162 dependent-map,
163 dependent-sum,
164 mtl,
165 ref-tf,
166 reflex,
167 split,
168 transformers >= 0.3
169 other-modules:
170 Reflex.Bench.Focused
171 Reflex.Plan.Pure
172 Reflex.Plan.Reflex
173 Reflex.Test
174 Reflex.Test.Micro
175 Reflex.TestPlan
177test-suite CrossImpl
178 type: exitcode-stdio-1.0
179 main-is: Reflex/Test/CrossImpl.hs
180 hs-source-dirs: test
181 ghc-options: -O2 -Wall -rtsopts
182 build-depends:
183 base,
184 containers,
185 dependent-map,
186 dependent-sum,
187 deepseq >= 1.3 && < 1.5,
188 mtl,
189 transformers,
190 ref-tf,
191 reflex
192 other-modules:
193 Reflex.Test
194 Reflex.TestPlan
195 Reflex.Plan.Reflex
196 Reflex.Plan.Pure
198test-suite hlint
199 type: exitcode-stdio-1.0
200 main-is: hlint.hs
201 hs-source-dirs: test
202 build-depends: base
203 , directory
204 , filepath
205 , filemanip
206 , hlint
207 if impl(ghcjs)
208 buildable: False
210test-suite EventWriterT
211 type: exitcode-stdio-1.0
212 main-is: EventWriterT.hs
213 hs-source-dirs: test
214 build-depends: base
215 , containers
216 , deepseq >= 1.3 && < 1.5
217 , dependent-map
218 , dependent-sum
219 , lens
220 , mtl
221 , these
222 , transformers
223 , reflex
224 , ref-tf
225 other-modules:
226 Reflex.Test
227 Reflex.TestPlan
228 Reflex.Plan.Reflex
229 Reflex.Plan.Pure
230 Test.Run
232test-suite RequesterT
233 type: exitcode-stdio-1.0
234 main-is: RequesterT.hs
235 hs-source-dirs: test
236 build-depends: base
237 , dependent-sum
238 , dependent-map
239 , lens
240 , these
241 , transformers
242 , reflex
243 , ref-tf
244 buildable: False
245 other-modules:
246 Reflex.TestPlan
247 Reflex.Plan.Pure
249test-suite QueryT
250 type: exitcode-stdio-1.0
251 main-is: QueryT.hs
252 hs-source-dirs: test
253 build-depends: base
254 , containers
255 , dependent-map
256 , dependent-sum
257 , deepseq >= 1.3 && < 1.5
258 , lens
259 , monoidal-containers
260 , mtl
261 , ref-tf
262 , reflex
263 , semigroups
264 , these
265 , transformers
266 other-modules:
267 Test.Run
268 Reflex.TestPlan
269 Reflex.Plan.Reflex
270 Reflex.Plan.Pure
272test-suite GC-Semantics
273 type: exitcode-stdio-1.0
274 main-is: GC.hs
275 hs-source-dirs: test
276 build-depends: base
277 , containers
278 , dependent-sum
279 , dependent-map
280 , deepseq >= 1.3 && < 1.5
281 , mtl
282 , these
283 , transformers
284 , reflex
285 , ref-tf
286 if impl(ghc < 8)
287 build-depends: semigroups
288 other-modules:
289 Reflex.Plan.Pure
290 Reflex.Plan.Reflex
291 Reflex.TestPlan
292 Test.Run
294test-suite rootCleanup
295 type: exitcode-stdio-1.0
296 main-is: rootCleanup.hs
297 hs-source-dirs: test
298 build-depends: base
299 , containers
300 , deepseq >= 1.3 && < 1.5
301 , dependent-sum
302 , mtl
303 , reflex
304 , ref-tf
305 , these
306 other-modules:
307 Reflex.Plan.Pure
308 Reflex.TestPlan
309 Test.Run
311benchmark spider-bench
312 type: exitcode-stdio-1.0
313 hs-source-dirs: bench test
314 main-is: Main.hs
315 ghc-options: -Wall -O2 -rtsopts
316 build-depends:
317 base,
318 containers,
319 criterion >= 1.1 && < 1.6,
320 deepseq >= 1.3 && < 1.5,
321 dependent-map,
322 dependent-sum,
323 ref-tf,
324 mtl,
325 primitive,
326 reflex,
327 split,
328 stm,
329 transformers >= 0.3
330 other-modules:
331 Reflex.TestPlan
332 Reflex.Plan.Reflex
333 Reflex.Bench.Focused
335benchmark saulzar-bench
336 type: exitcode-stdio-1.0
337 hs-source-dirs: bench test
338 c-sources: bench-cbits/checkCapability.c
339 main-is: RunAll.hs
340 ghc-options: -Wall -O2 -rtsopts -threaded
341 build-depends:
342 base,
343 containers >= 0.5 && < 0.7,
344 criterion >= 1.1 && < 1.6,
345 deepseq >= 1.3 && < 1.5,
346 dependent-map,
347 dependent-sum,
348 loch-th,
349 mtl,
350 primitive,
351 process,
352 ref-tf,
353 reflex,
354 split,
355 stm,
356 time,
357 transformers >= 0.3
358 other-modules:
359 Reflex.TestPlan
360 Reflex.Plan.Reflex
361 Reflex.Bench.Focused
363source-repository head
364 type: git
365 location: https://github.com/reflex-frp/reflex