on 8de0159 help sign in
patch/reflex.cabal
161 lines 4.0 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.TriggerEvent.Base,
70 Reflex.TriggerEvent.Class,
71 Reflex.PerformEvent.Base,
72 Reflex.PerformEvent.Class,
73 Reflex.PostBuild.Base,
74 Reflex.PostBuild.Class,
75 Reflex.Requester.Base,
76 Reflex.Requester.Class,
77 Reflex.Spider,
78 Reflex.Spider.Internal
80 other-extensions: TemplateHaskell
81 ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
82 ghc-prof-options: -auto-all
84 if flag(specialize-to-spidertimeline-global)
85 cpp-options: -DSPECIALIZE_TO_SPIDERTIMELINE_GLOBAL
86 else
87 exposed-modules: Reflex.Pure
89test-suite semantics
90 type: exitcode-stdio-1.0
91 main-is: semantics.hs
92 hs-source-dirs: test
93 ghc-options: -O2 -Wall -rtsopts
94 build-depends:
95 base,
96 bifunctors,
97 containers,
98 deepseq >= 1.3 && < 1.5,
99 dependent-map,
100 dependent-sum,
101 mtl,
102 ref-tf,
103 reflex,
104 split,
105 transformers >= 0.3
106 if flag(specialize-to-spidertimeline-global)
107 buildable: False
109test-suite hlint
110 type: exitcode-stdio-1.0
111 main-is: hlint.hs
112 hs-source-dirs: test
113 build-depends: base, hlint == 1.9.*
114 if impl(ghcjs)
115 buildable: False
117benchmark spider-bench
118 type: exitcode-stdio-1.0
119 hs-source-dirs: bench
120 main-is: Main.hs
121 ghc-options: -Wall -O2 -rtsopts
122 build-depends:
123 base,
124 criterion == 1.1.*,
125 deepseq >= 1.3 && < 1.5,
126 dependent-map,
127 dependent-sum,
128 mtl,
129 primitive,
130 reflex,
131 stm,
132 transformers >= 0.3
134benchmark saulzar-bench
135 type: exitcode-stdio-1.0
136 hs-source-dirs: bench test
137 c-sources: bench-cbits/checkCapability.c
138 main-is: RunAll.hs
139 ghc-options: -Wall -O2 -rtsopts -threaded
140 ghc-prof-options: -auto-all
141 build-depends:
142 base,
143 containers == 0.5.*,
144 criterion == 1.1.*,
145 deepseq >= 1.3 && < 1.5,
146 dependent-map,
147 dependent-sum,
148 loch-th,
149 mtl,
150 primitive,
151 process,
152 ref-tf,
153 reflex,
154 split,
155 stm,
156 time,
157 transformers >= 0.3
159source-repository head
160 type: git
161 location: https://github.com/reflex-frp/reflex