From e4f4be6c8010e9d2913af12dc6177f4f7ca84b17 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Mon, 28 Mar 2022 22:23:36 +0200 Subject: Remove redundant dependency on hslua-marshalling. The package is a dependency of hslua; all important modules are re-exported. --- src/Text/Pandoc/Lua/ErrorConversion.hs | 3 +-- src/Text/Pandoc/Lua/Marshal/CommonState.hs | 4 +--- src/Text/Pandoc/Lua/Marshal/PandocError.hs | 3 +-- 3 files changed, 3 insertions(+), 7 deletions(-) (limited to 'src/Text') 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)) -- cgit v1.2.3