summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Lua
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2022-03-28 22:23:36 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2022-03-29 08:04:49 +0200
commite4f4be6c8010e9d2913af12dc6177f4f7ca84b17 (patch)
tree06af4a584436c203b60430557975f3991ab81acb /src/Text/Pandoc/Lua
parent807a574e9d33fcf66928388e342cc1436eb2346e (diff)
Remove redundant dependency on hslua-marshalling.
The package is a dependency of hslua; all important modules are re-exported.
Diffstat (limited to 'src/Text/Pandoc/Lua')
-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))