@@ -23,17 +23,19 @@ tested-with:
23
23
GHC == 8.0.2 || == 8.2.2 || == 8.4.4 || == 8.6.5 || == 8.8.1
24
24
GHCJS == 8.4
25
25
26
+ flag split-these
27
+ description : Use split these/semialign packages
28
+ manual : False
29
+ default : True
30
+
26
31
library
27
32
hs-source-dirs : src
28
33
build-depends : base >= 4.9 && < 4.14
29
34
, constraints-extras >= 0.3 && < 0.4
30
35
, containers >= 0.6 && < 0.7
31
36
, dependent-map >= 0.3 && < 0.4
32
37
, dependent-sum >= 0.6 && < 0.7
33
- , monoidal-containers >= 0.6 && < 0.7
34
- , semialign >= 1 && < 1.2
35
38
, semigroupoids >= 4.0 && < 6
36
- , these >= 1 && < 1.1
37
39
, transformers >= 0.5.6.0 && < 0.6
38
40
, witherable >= 0.3 && < 0.3.2
39
41
@@ -48,6 +50,14 @@ library
48
50
49
51
ghc-options : -Wall -fwarn-redundant-constraints -fwarn-tabs
50
52
53
+ if flag(split-these)
54
+ build-depends : these >= 1 && < 1.1
55
+ , semialign >= 1 && < 1.2
56
+ , monoidal-containers >= 0.6 && < 0.7
57
+ else
58
+ build-depends : these >= 0.4 && < 0.9
59
+ , monoidal-containers == 0.4.0.0
60
+
51
61
test-suite hlint
52
62
type : exitcode-stdio-1.0
53
63
main-is : hlint.hs
0 commit comments