aboutsummaryrefslogtreecommitdiff
path: root/Parser.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Parser.hs')
-rw-r--r--Parser.hs4
1 files changed, 4 insertions, 0 deletions
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