From 8267c300c311f700e275911d32146b748bc4b4aa Mon Sep 17 00:00:00 2001 From: Lennart Spitzner Date: Tue, 1 Aug 2017 23:28:33 +0200 Subject: [PATCH] Adapt for ghc-8.2.1 --- butcher.cabal | 4 ++-- iridium.yaml | 2 ++ srcinc/prelude.inc | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/butcher.cabal b/butcher.cabal index f09f91a..ba88b89 100644 --- a/butcher.cabal +++ b/butcher.cabal @@ -41,7 +41,7 @@ library other-modules: UI.Butcher.Monadic.Internal.Types UI.Butcher.Monadic.Internal.Core build-depends: - { base >=4.8 && <4.10 + { base >=4.8 && <4.11 , free , unsafe , microlens @@ -104,7 +104,7 @@ test-suite tests type: exitcode-stdio-1.0 default-language: Haskell2010 build-depends: - { base >=4.8 && <4.10 + { base >=4.8 && <4.11 , butcher , free , unsafe diff --git a/iridium.yaml b/iridium.yaml index 78ae85f..37fd7b7 100644 --- a/iridium.yaml +++ b/iridium.yaml @@ -25,6 +25,8 @@ checks: version: "7.10.3" - compiler: "ghc" version: "8.0.2" + - compiler: "ghc" + version: "8.2.1" compilers-help: | for this to work, cabal will need the paths to the actual compilers to be configured; see the note about the user-global diff --git a/srcinc/prelude.inc b/srcinc/prelude.inc index 9c5a07e..a5ec8a6 100644 --- a/srcinc/prelude.inc +++ b/srcinc/prelude.inc @@ -351,6 +351,7 @@ import System.IO ( hFlush ) import Data.Typeable ( Typeable + , cast ) import Control.Arrow ( first