diff options
author | Tom Smeding <tom@tomsmeding.com> | 2024-02-13 21:16:17 +0100 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2024-02-13 21:17:06 +0100 |
commit | 69a1cb7dd7277941ec9e4f8d68f64dafdd5ca682 (patch) | |
tree | 0cca0a16052f85b4e8e12e63d66abb1e2e77ebff | |
parent | 2886ae5ba8addbb86a3fad52ccc65b3309e12fcd (diff) |
GHC 9.8 compatibility
-rw-r--r-- | Parser.hs | 4 | ||||
-rw-r--r-- | hs-visinter.cabal | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -8,6 +8,9 @@ {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE RankNTypes #-} {-# LANGUAGE TypeOperators #-} +-- I don't want a warning for 'head' and 'tail' in this file. But I also don't +-- want GHCs before 9.8 to complain that they don't know the x-partial warning. +{-# OPTIONS_GHC -Wno-unrecognised-warning-flags -Wno-x-partial #-} module Parser ( parse, printErrMsg, @@ -16,6 +19,7 @@ module Parser ( ) where import Control.Applicative +import Control.Monad import Control.Monad.Chronicle import Control.Monad.Reader import Control.Monad.State.Lazy diff --git a/hs-visinter.cabal b/hs-visinter.cabal index 1972b77..11d19eb 100644 --- a/hs-visinter.cabal +++ b/hs-visinter.cabal @@ -13,11 +13,11 @@ executable hs-visinter AST Parser build-depends: - base >= 4.16 && < 4.19, - containers >= 0.6.3.1 && < 0.7, + base >= 4.16 && < 4.20, + containers >= 0.6.3.1 && < 0.8, mtl, monad-chronicle ^>= 1.0.0.1, these hs-source-dirs: . default-language: Haskell2010 - ghc-options: -Wall -O2 -threaded + ghc-options: -Wall -threaded |