diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2022-10-31 16:51:51 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2022-10-31 16:51:51 -0700 |
| commit | df360197687ff3be734e59688e5468ebe1363563 (patch) | |
| tree | f49365ee4207314bd05b092cc51feb9c854c550b /src/Text/Pandoc/App/Opt.hs | |
| parent | 3e48d9701d955dc1df27f9cfd2eb5111b2cd9c1f (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.hs | 4 |
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 ) |
