summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Parsing
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2022-10-31 16:51:51 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2022-10-31 16:51:51 -0700
commitdf360197687ff3be734e59688e5468ebe1363563 (patch)
treef49365ee4207314bd05b092cc51feb9c854c550b /src/Text/Pandoc/Parsing
parent3e48d9701d955dc1df27f9cfd2eb5111b2cd9c1f (diff)
First stab at mtl 2.3 compliance.
This will no doubt produce a bunch of warnings and hence CI failures, which we'll need to work around with explicit imports.
Diffstat (limited to 'src/Text/Pandoc/Parsing')
-rw-r--r--src/Text/Pandoc/Parsing/General.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Parsing/General.hs b/src/Text/Pandoc/Parsing/General.hs
index de099c33b..9decaef7d 100644
--- a/src/Text/Pandoc/Parsing/General.hs
+++ b/src/Text/Pandoc/Parsing/General.hs
@@ -67,9 +67,10 @@ import Control.Monad
, unless
, void
, when
+ , MonadPlus(mzero)
)
import Control.Monad.Except ( MonadError(throwError) )
-import Control.Monad.Identity ( Identity(..), MonadPlus(mzero) )
+import Control.Monad.Identity ( Identity(..) )
import Data.Char
( chr
, isAlphaNum