aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Templates.hs
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2020-03-22 20:28:45 +0100
committerGitHub <noreply@github.com>2020-03-22 12:28:45 -0700
commitf2b337768e95c8903f65e597f7d8cd81938dacc3 (patch)
tree16b228d1b38868cee264aa2ccdf3b8c8d890bb90 /src/Text/Pandoc/Templates.hs
parent22bf3d6727aa36f6079f89c602c59ba7b71e4475 (diff)
downloadpandoc-f2b337768e95c8903f65e597f7d8cd81938dacc3.tar.gz
Finer grained imports of Text.Pandoc.Class submodules (#6203)
This should speed-up recompilation after changes in `Text.Pandoc.Class`, as the number of modules affected by a change will be smaller in general. It also offers faster insights into the parts of `T.P.Class` used within a module.
Diffstat (limited to 'src/Text/Pandoc/Templates.hs')
-rw-r--r--src/Text/Pandoc/Templates.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Templates.hs b/src/Text/Pandoc/Templates.hs
index b6ab0ac42..b95df23e7 100644
--- a/src/Text/Pandoc/Templates.hs
+++ b/src/Text/Pandoc/Templates.hs
@@ -26,8 +26,9 @@ module Text.Pandoc.Templates ( Template
import System.FilePath ((<.>), (</>), takeFileName)
import Text.DocTemplates (Template, TemplateMonad(..), compileTemplate, renderTemplate)
-import Text.Pandoc.Class (PandocMonad, readDataFile, fetchItem,
- CommonState(..), getCommonState, modifyCommonState)
+import Text.Pandoc.Class.CommonState (CommonState(..))
+import Text.Pandoc.Class.PandocMonad (PandocMonad, readDataFile, fetchItem,
+ getCommonState, modifyCommonState)
import qualified Text.Pandoc.UTF8 as UTF8
import Control.Monad.Except (catchError, throwError)
import Data.Text (Text)