diff options
-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 |