summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Lua/ErrorConversion.hs3
-rw-r--r--src/Text/Pandoc/Lua/Marshal/CommonState.hs4
-rw-r--r--src/Text/Pandoc/Lua/Marshal/PandocError.hs3
3 files changed, 3 insertions, 7 deletions
diff --git a/src/Text/Pandoc/Lua/ErrorConversion.hs b/src/Text/Pandoc/Lua/ErrorConversion.hs
index 2083f99dd..3968eba84 100644
--- a/src/Text/Pandoc/Lua/ErrorConversion.hs
+++ b/src/Text/Pandoc/Lua/ErrorConversion.hs
@@ -14,8 +14,7 @@ module Text.Pandoc.Lua.ErrorConversion
( addContextToException
) where
-import HsLua (LuaError, LuaE, top)
-import HsLua.Marshalling (resultToEither, runPeek)
+import HsLua (LuaError, LuaE, resultToEither, runPeek, top)
import Text.Pandoc.Error (PandocError (PandocLuaError))
import Text.Pandoc.Lua.Marshal.PandocError (pushPandocError, peekPandocError)
diff --git a/src/Text/Pandoc/Lua/Marshal/CommonState.hs b/src/Text/Pandoc/Lua/Marshal/CommonState.hs
index 7ca1b7e62..74ce69887 100644
--- a/src/Text/Pandoc/Lua/Marshal/CommonState.hs
+++ b/src/Text/Pandoc/Lua/Marshal/CommonState.hs
@@ -15,9 +15,7 @@ module Text.Pandoc.Lua.Marshal.CommonState
, pushCommonState
) where
-import HsLua.Core
-import HsLua.Marshalling
-import HsLua.Packaging
+import HsLua
import Text.Pandoc.Class (CommonState (..))
import Text.Pandoc.Logging (LogMessage, showLogMessage)
import Text.Pandoc.Lua.Marshal.List (pushPandocList)
diff --git a/src/Text/Pandoc/Lua/Marshal/PandocError.hs b/src/Text/Pandoc/Lua/Marshal/PandocError.hs
index 934c69ec3..7f83f2fc0 100644
--- a/src/Text/Pandoc/Lua/Marshal/PandocError.hs
+++ b/src/Text/Pandoc/Lua/Marshal/PandocError.hs
@@ -19,8 +19,7 @@ module Text.Pandoc.Lua.Marshal.PandocError
)
where
-import HsLua.Core (LuaError)
-import HsLua.Marshalling (Peeker, Pusher, pushString, liftLua)
+import HsLua (LuaError, Peeker, Pusher, liftLua, pushString)
import HsLua.Packaging
import Text.Pandoc.Error (PandocError (PandocLuaError))