Updates for ghc-9.8
Closed this issue · 0 comments
erikd commented
To make this build with ghc-9.8
I needed to bump dependencies:
diff --git a/foldl.cabal b/foldl.cabal
index 08715aa..a774ac5 100644
--- a/foldl.cabal
+++ b/foldl.cabal
@@ -25,13 +25,13 @@ Library
HS-Source-Dirs: src
Build-Depends:
base >= 4.11.0.0 && < 5 ,
- bytestring >= 0.9.2.1 && < 0.12,
+ bytestring >= 0.9.2.1 && < 0.13,
random >= 1.2 && < 1.3 ,
primitive < 0.9 ,
- text >= 0.11.2.0 && < 2.1 ,
+ text >= 0.11.2.0 && < 2.2 ,
transformers >= 0.2.0.0 && < 0.7 ,
vector >= 0.7 && < 0.14,
- containers >= 0.5.0.0 && < 0.7 ,
+ containers >= 0.5.0.0 && < 0.8 ,
unordered-containers < 0.3 ,
hashable < 1.5 ,
contravariant < 1.6 ,
And add a cabal.project
file containing:
packages:
.
if impl(ghc >= 9.8)
constraints:
, text >= 2.0
, hashable >= 1.4
allow-newer:
, *:base
, *:bytestring
, *:deepseq
, *:text