From f2b337768e95c8903f65e597f7d8cd81938dacc3 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Sun, 22 Mar 2020 20:28:45 +0100 Subject: 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. --- src/Text/Pandoc/Lua/Module/MediaBag.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Text/Pandoc/Lua/Module/MediaBag.hs') diff --git a/src/Text/Pandoc/Lua/Module/MediaBag.hs b/src/Text/Pandoc/Lua/Module/MediaBag.hs index 23f335caa..769f7e110 100644 --- a/src/Text/Pandoc/Lua/Module/MediaBag.hs +++ b/src/Text/Pandoc/Lua/Module/MediaBag.hs @@ -15,8 +15,9 @@ module Text.Pandoc.Lua.Module.MediaBag import Control.Monad (zipWithM_) import Foreign.Lua (Lua, NumResults, Optional, liftIO) -import Text.Pandoc.Class (CommonState (..), fetchItem, putCommonState, - runIOorExplode, setMediaBag) +import Text.Pandoc.Class.CommonState (CommonState (..)) +import Text.Pandoc.Class.PandocIO (runIOorExplode) +import Text.Pandoc.Class.PandocMonad (fetchItem, putCommonState, setMediaBag) import Text.Pandoc.Lua.Marshaling () import Text.Pandoc.Lua.Marshaling.MediaBag (pushIterator) import Text.Pandoc.Lua.Util (addFunction) -- cgit v1.2.3