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