on 02007dd help sign in
patch/reflex.cabal
149 lines 3.6 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
21library
22 hs-source-dirs: src
23 build-depends:
24 MemoTrie == 0.6.*,
25 base >= 4.7 && < 4.10,
26 bifunctors >= 5.2 && < 5.5,
27 containers == 0.5.*,
28 dependent-map >= 0.2.2 && < 0.3,
29 dependent-sum == 0.3.*,
30 exception-transformers == 0.4.*,
31 ghc,
32 haskell-src-exts >= 1.16 && < 1.18,
33 haskell-src-meta == 0.6.*,
34 lens >= 4.7 && < 5,
35 monad-control >= 1.0.1 && < 1.1,
36 mtl >= 2.1 && < 2.3,
37 prim-uniq >= 0.1.0.1 && < 0.2,
38 primitive >= 0.5 && < 0.7,
39 ref-tf == 0.4.*,
40 semigroupoids >= 4.0 && < 6,
41 semigroups >= 0.16 && < 0.19,
42 stm == 2.4.*,
43 syb >= 0.5 && < 0.7,
44 template-haskell >= 2.9 && < 2.12,
45 these >= 0.4 && < 0.8,
46 transformers >= 0.2,
47 transformers-compat >= 0.3
49 exposed-modules:
50 Data.Functor.Misc,
51 Data.WeakBag,
52 Reflex,
53 Reflex.Class,
54 Reflex.Dynamic,
55 Reflex.Dynamic.TH,
56 Reflex.Dynamic.Uniq,
57 Reflex.DynamicWriter,
58 Reflex.FunctorMaybe,
59 Reflex.Host.Class,
60 Reflex.Optimizer,
61 Reflex.Patch,
62 Reflex.PerformEvent.Base,
63 Reflex.PerformEvent.Class,
64 Reflex.PostBuild.Class,
65 Reflex.Spider,
66 Reflex.Spider.Internal
68 other-extensions: TemplateHaskell
69 ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
70 ghc-prof-options: -auto-all
72 if flag(specialize-to-spidertimeline-global)
73 cpp-options: -DSPECIALIZE_TO_SPIDERTIMELINE_GLOBAL
74 else
75 exposed-modules: Reflex.Pure
77test-suite semantics
78 type: exitcode-stdio-1.0
79 main-is: semantics.hs
80 hs-source-dirs: test
81 ghc-options: -O2 -Wall -rtsopts
82 build-depends:
83 base,
84 bifunctors,
85 containers,
86 deepseq >= 1.3 && < 1.5,
87 dependent-map,
88 dependent-sum,
89 mtl,
90 ref-tf,
91 reflex,
92 split,
93 transformers >= 0.3
94 if flag(specialize-to-spidertimeline-global)
95 buildable: False
97--test-suite hlint
98-- type: exitcode-stdio-1.0
99-- main-is: hlint.hs
100-- hs-source-dirs: test
101-- build-depends: base, hlint == 1.9.*
102-- if impl(ghcjs)
103-- buildable: False
105benchmark spider-bench
106 type: exitcode-stdio-1.0
107 hs-source-dirs: bench
108 main-is: Main.hs
109 ghc-options: -Wall -O2 -rtsopts
110 build-depends:
111 base,
112 criterion == 1.1.*,
113 deepseq >= 1.3 && < 1.5,
114 dependent-map,
115 dependent-sum,
116 mtl,
117 primitive,
118 reflex,
119 stm,
120 transformers >= 0.3
122benchmark saulzar-bench
123 type: exitcode-stdio-1.0
124 hs-source-dirs: bench test
125 c-sources: bench-cbits/checkCapability.c
126 main-is: RunAll.hs
127 ghc-options: -Wall -O2 -rtsopts -threaded
128 ghc-prof-options: -auto-all
129 build-depends:
130 base,
131 containers == 0.5.*,
132 criterion == 1.1.*,
133 deepseq >= 1.3 && < 1.5,
134 dependent-map,
135 dependent-sum,
136 loch-th,
137 mtl,
138 primitive,
139 process,
140 ref-tf,
141 reflex,
142 split,
143 stm,
144 time,
145 transformers >= 0.3
147source-repository head
148 type: git
149 location: https://github.com/reflex-frp/reflex