@@ -40,6 +40,11 @@ flag fast-weak
40 default: False
40 default: False
41 manual: True
41 manual: True
44+ description: Use split these/semialign packages
44 hs-source-dirs: src
49 hs-source-dirs: src
45 build-depends:
50 build-depends:
@@ -58,21 +63,26 @@ library
58 monoidal-containers >= 0.4 && < 0.6,
63 monoidal-containers >= 0.4 && < 0.6,
59 mtl >= 2.1 && < 2.3,
64 mtl >= 2.1 && < 2.3,
60 prim-uniq >= 0.1.0.1 && < 0.2,
65 prim-uniq >= 0.1.0.1 && < 0.2,
61− primitive >= 0.5 && < 0.7,
66+ primitive >= 0.5 && < 0.8,
62 random == 1.1.*,
67 random == 1.1.*,
63 ref-tf == 0.4.*,
68 ref-tf == 0.4.*,
64 reflection == 2.1.*,
69 reflection == 2.1.*,
65 semigroupoids >= 4.0 && < 6,
70 semigroupoids >= 4.0 && < 6,
66− semigroups >= 0.16 && < 0.19,
71+ semigroups >= 0.16 && < 0.20,
67 stm >= 2.4 && < 2.6,
72 stm >= 2.4 && < 2.6,
68 syb >= 0.5 && < 0.8,
73 syb >= 0.5 && < 0.8,
69− these >= 0.4 && < 0.9,
70 time >= 1.4 && < 1.9,
74 time >= 1.4 && < 1.9,
71 transformers >= 0.2,
75 transformers >= 0.2,
72 transformers-compat >= 0.3,
76 transformers-compat >= 0.3,
73 unbounded-delays >= 0.1.0.0 && < 0.2,
77 unbounded-delays >= 0.1.0.0 && < 0.2,
74 witherable >= 0.2 && < 0.4
78 witherable >= 0.2 && < 0.4
81+ build-depends: these >= 1 && <1.1,
82+ semialign >=1 && <1.1
84+ build-depends: these >= 0.4 && <0.9
76 exposed-modules:
86 exposed-modules:
77 Data.AppendMap,
87 Data.AppendMap,
78 Data.FastMutableIntMap,
88 Data.FastMutableIntMap,
@@ -209,7 +219,8 @@ test-suite hlint
209 , directory
219 , directory
210 , filepath
220 , filepath
211 , filemanip
221 , filemanip
222+ -- newer versions need ghc-lib-parser, and have failing hints
212− , hlint
223+ , hlint <2.1
213 if impl(ghcjs)
224 if impl(ghcjs)
214 buildable: False
225 buildable: False
@@ -228,6 +239,10 @@ test-suite EventWriterT
228 , transformers
239 , transformers
243+ if flag(split-these)
244+ build-depends: these-lens
231 other-modules:
246 other-modules:
232 Reflex.Test
247 Reflex.Test
233 Reflex.TestPlan
248 Reflex.TestPlan
@@ -235,6 +250,7 @@ test-suite EventWriterT
235 Reflex.Plan.Pure
250 Reflex.Plan.Pure
238test-suite RequesterT
254test-suite RequesterT
239 type: exitcode-stdio-1.0
255 type: exitcode-stdio-1.0
240 main-is: RequesterT.hs
256 main-is: RequesterT.hs
@@ -250,9 +266,14 @@ test-suite RequesterT
250 , transformers
266 , transformers
270+ if flag(split-these)
271+ build-depends: these-lens
253 other-modules:
273 other-modules:
254 Reflex.TestPlan
274 Reflex.TestPlan
255 Reflex.Plan.Pure
275 Reflex.Plan.Pure
257test-suite QueryT
278test-suite QueryT
258 type: exitcode-stdio-1.0
279 type: exitcode-stdio-1.0
@@ -271,6 +292,10 @@ test-suite QueryT
271 , semigroups
292 , semigroups
273 , transformers
294 , transformers
296+ if flag(split-these)
297+ build-depends: semialign, these-lens
274 other-modules:
299 other-modules:
276 Reflex.TestPlan
301 Reflex.TestPlan
@@ -291,6 +316,10 @@ test-suite GC-Semantics
291 , transformers
316 , transformers
320+ if flag(split-these)
321+ build-depends: semialign
294 if impl(ghc < 8)
323 if impl(ghc < 8)
295 build-depends: semigroups
324 build-depends: semigroups
296 other-modules:
325 other-modules: