on develop help sign in
Add back split-these from Reflex to support older GHCs
e9bcba6John Ericson
ChangeLog.md+4
@@ -1,5 +1,9 @@
1# Revision history for patch
1# Revision history for patch
2
2
3+## Unreleased
4+
5+* Support older GHCs with `split-these` flag.
6+
3## 0.0.0.1
7## 0.0.0.1
4
8
5* Remove unneeded dependencies
9* Remove unneeded dependencies
cabal.haskell-ci+7
@@ -5,3 +5,10 @@ installed: -all
5
5
6-- https://github.com/haskell/cabal/issues/6106
6-- https://github.com/haskell/cabal/issues/6106
7install-dependencies: False
7install-dependencies: False
8+
9+constraint-set old-these
10+ ghc: <8.8
11+ constraints: these <1
12+
13+constraint-set old-witherable
14+ constraints: witherable <0.3.2
patch.cabal+13−3
@@ -23,6 +23,11 @@ tested-with:
23 GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.1
23 GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.1
24 GHCJS ==8.4
24 GHCJS ==8.4
25
25
26+flag split-these
27+ description: Use split these/semialign packages
28+ manual: False
29+ default: True
30+
26library
31library
27 hs-source-dirs: src
32 hs-source-dirs: src
28 build-depends: base >= 4.9 && < 4.14
33 build-depends: base >= 4.9 && < 4.14
@@ -30,10 +35,7 @@ library
30 , containers >= 0.6 && < 0.7
35 , containers >= 0.6 && < 0.7
31 , dependent-map >= 0.3 && < 0.4
36 , dependent-map >= 0.3 && < 0.4
32 , dependent-sum >= 0.6 && < 0.7
37 , dependent-sum >= 0.6 && < 0.7
33− , monoidal-containers >= 0.6 && < 0.7
34− , semialign >=1 && <1.2
35 , semigroupoids >= 4.0 && < 6
38 , semigroupoids >= 4.0 && < 6
36− , these >= 1 && <1.1
37 , transformers >= 0.5.6.0 && < 0.6
39 , transformers >= 0.5.6.0 && < 0.6
38 , witherable >= 0.3 && < 0.3.2
40 , witherable >= 0.3 && < 0.3.2
39
41
@@ -48,6 +50,14 @@ library
48
50
49 ghc-options: -Wall -fwarn-redundant-constraints -fwarn-tabs
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+
51test-suite hlint
61test-suite hlint
52 type: exitcode-stdio-1.0
62 type: exitcode-stdio-1.0
53 main-is: hlint.hs
63 main-is: hlint.hs