on 9f48bbd help sign in
patch/reflex.cabal
165 lines 4.1 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 haskell-src-exts >= 1.16 && < 1.18,
38 haskell-src-meta == 0.6.*,
39 lens >= 4.7 && < 5,
40 monad-control >= 1.0.1 && < 1.1,
41 mtl >= 2.1 && < 2.3,
42 prim-uniq >= 0.1.0.1 && < 0.2,
43 primitive >= 0.5 && < 0.7,
44 ref-tf == 0.4.*,
45 reflection == 2.1.*,
46 semigroupoids >= 4.0 && < 6,
47 semigroups >= 0.16 && < 0.19,
48 stm == 2.4.*,
49 syb >= 0.5 && < 0.7,
50 template-haskell >= 2.9 && < 2.12,
51 these >= 0.4 && < 0.8,
52 transformers >= 0.2,
53 transformers-compat >= 0.3
55 exposed-modules:
56 Data.Functor.Misc,
57 Data.WeakBag,
58 Reflex,
59 Reflex.Class,
60 Reflex.EventWriter,
61 Reflex.Dynamic,
62 Reflex.Dynamic.TH,
63 Reflex.Dynamic.Uniq,
64 Reflex.DynamicWriter,
65 Reflex.FunctorMaybe,
66 Reflex.Host.Class,
67 Reflex.Patch,
68 Reflex.TriggerEvent.Base,
69 Reflex.TriggerEvent.Class,
70 Reflex.PerformEvent.Base,
71 Reflex.PerformEvent.Class,
72 Reflex.PostBuild.Base,
73 Reflex.PostBuild.Class,
74 Reflex.Requester.Base,
75 Reflex.Requester.Class,
76 Reflex.Spider,
77 Reflex.Spider.Internal
79 other-extensions: TemplateHaskell
80 ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2
81 ghc-prof-options: -auto-all
83 if flag(specialize-to-spidertimeline-global)
84 cpp-options: -DSPECIALIZE_TO_SPIDERTIMELINE_GLOBAL
85 else
86 exposed-modules: Reflex.Pure
88 if flag(use-reflex-optimizer)
89 cpp-options: -DUSE_REFLEX_OPTIMIZER
90 build-depends: ghc
91 exposed-modules: Reflex.Optimizer
93test-suite semantics
94 type: exitcode-stdio-1.0
95 main-is: semantics.hs
96 hs-source-dirs: test
97 ghc-options: -O2 -Wall -rtsopts
98 build-depends:
99 base,
100 bifunctors,
101 containers,
102 deepseq >= 1.3 && < 1.5,
103 dependent-map,
104 dependent-sum,
105 mtl,
106 ref-tf,
107 reflex,
108 split,
109 transformers >= 0.3
110 if flag(specialize-to-spidertimeline-global)
111 buildable: False
113test-suite hlint
114 type: exitcode-stdio-1.0
115 main-is: hlint.hs
116 hs-source-dirs: test
117 build-depends: base, hlint == 1.9.*
118 if impl(ghcjs)
119 buildable: False
121benchmark spider-bench
122 type: exitcode-stdio-1.0
123 hs-source-dirs: bench
124 main-is: Main.hs
125 ghc-options: -Wall -O2 -rtsopts
126 build-depends:
127 base,
128 criterion == 1.1.*,
129 deepseq >= 1.3 && < 1.5,
130 dependent-map,
131 dependent-sum,
132 mtl,
133 primitive,
134 reflex,
135 stm,
136 transformers >= 0.3
138benchmark saulzar-bench
139 type: exitcode-stdio-1.0
140 hs-source-dirs: bench test
141 c-sources: bench-cbits/checkCapability.c
142 main-is: RunAll.hs
143 ghc-options: -Wall -O2 -rtsopts -threaded
144 ghc-prof-options: -auto-all
145 build-depends:
146 base,
147 containers == 0.5.*,
148 criterion == 1.1.*,
149 deepseq >= 1.3 && < 1.5,
150 dependent-map,
151 dependent-sum,
152 loch-th,
153 mtl,
154 primitive,
155 process,
156 ref-tf,
157 reflex,
158 split,
159 stm,
160 time,
161 transformers >= 0.3
163source-repository head
164 type: git
165 location: https://github.com/reflex-frp/reflex