From 69a1cb7dd7277941ec9e4f8d68f64dafdd5ca682 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Tue, 13 Feb 2024 21:16:17 +0100 Subject: GHC 9.8 compatibility --- Parser.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Parser.hs') diff --git a/Parser.hs b/Parser.hs index c958069..971ed89 100644 --- a/Parser.hs +++ b/Parser.hs @@ -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 -- cgit v1.2.3-70-g09d2