summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/App/Opt.hs
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/App/Opt.hs
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/App/Opt.hs')
-rw-r--r--src/Text/Pandoc/App/Opt.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Text/Pandoc/App/Opt.hs b/src/Text/Pandoc/App/Opt.hs
index 2c0cef5cd..ed95498e8 100644
--- a/src/Text/Pandoc/App/Opt.hs
+++ b/src/Text/Pandoc/App/Opt.hs
@@ -25,7 +25,9 @@ module Text.Pandoc.App.Opt (
, applyDefaults
, fullDefaultsPath
) where
-import Control.Monad.Except (MonadIO, liftIO, throwError, (>=>), foldM)
+import Control.Monad.Except (throwError)
+import Control.Monad.Trans (MonadIO, liftIO)
+import Control.Monad ((>=>), foldM)
import Control.Monad.State.Strict (StateT, modify, gets)
import System.FilePath ( addExtension, (</>), takeExtension, takeDirectory )
import System.Directory ( canonicalizePath )