Add support for GHC 8.6 (#94)
* Add support for GHC 8.6 * Fix STM version bounds on pragma
This commit is contained in:
@@ -21,6 +21,7 @@ env:
|
|||||||
- CABALVER=1.24 GHCVER=8.0.1
|
- CABALVER=1.24 GHCVER=8.0.1
|
||||||
- CABALVER=2.0 GHCVER=8.2.2
|
- CABALVER=2.0 GHCVER=8.2.2
|
||||||
- CABALVER=2.2 GHCVER=8.4.1
|
- CABALVER=2.2 GHCVER=8.4.1
|
||||||
|
- CABALVER=2.4 GHCVER=8.6.1
|
||||||
|
|
||||||
# Note: the distinction between `before_install` and `install` is not
|
# Note: the distinction between `before_install` and `install` is not
|
||||||
# important.
|
# important.
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ Supports:
|
|||||||
* GHC 8.0.2
|
* GHC 8.0.2
|
||||||
* GHC 8.2.1
|
* GHC 8.2.1
|
||||||
* GHC 8.4.1
|
* GHC 8.4.1
|
||||||
* GHC HEAD
|
* GHC 8.6.1
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|||||||
+3
-3
@@ -65,16 +65,16 @@ library
|
|||||||
-fwarn-implicit-prelude
|
-fwarn-implicit-prelude
|
||||||
|
|
||||||
build-depends:
|
build-depends:
|
||||||
base >= 4.6 && <4.12,
|
base >= 4.6 && <4.13,
|
||||||
array >= 0.4 && <0.6,
|
array >= 0.4 && <0.6,
|
||||||
ghc-prim >= 0.3 && <0.6,
|
ghc-prim >= 0.3 && <0.6,
|
||||||
async >= 2.0 && <2.3,
|
async >= 2.0 && <2.3,
|
||||||
deepseq >= 1.3 && <1.5,
|
deepseq >= 1.3 && <1.5,
|
||||||
containers >= 0.5 && <0.6,
|
containers >= 0.5 && <0.7,
|
||||||
hashable >= 1.2 && <1.3,
|
hashable >= 1.2 && <1.3,
|
||||||
transformers >= 0.2 && <0.6,
|
transformers >= 0.2 && <0.6,
|
||||||
text >= 1.2 && <1.3,
|
text >= 1.2 && <1.3,
|
||||||
stm >= 2.4 && <2.5,
|
stm >= 2.4 && <2.6,
|
||||||
bytestring >= 0.10 && <0.11,
|
bytestring >= 0.10 && <0.11,
|
||||||
mtl >= 2.1 && <2.3,
|
mtl >= 2.1 && <2.3,
|
||||||
mtl-compat >= 0.2 && <0.3,
|
mtl-compat >= 0.2 && <0.3,
|
||||||
|
|||||||
+1
-1
@@ -492,7 +492,7 @@ import qualified Control.Exception
|
|||||||
import Control.Monad.STM as X (
|
import Control.Monad.STM as X (
|
||||||
STM
|
STM
|
||||||
, atomically
|
, atomically
|
||||||
#if ( __GLASGOW_HASKELL__ < 806 )
|
#if !(MIN_VERSION_stm(2,5,0))
|
||||||
, always
|
, always
|
||||||
, alwaysSucceeds
|
, alwaysSucceeds
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
resolver: lts-12.0
|
||||||
|
packages:
|
||||||
|
- '.'
|
||||||
|
extra-deps:
|
||||||
|
flags: {}
|
||||||
|
extra-package-dbs: []
|
||||||
Reference in New Issue
Block a user