Remove redundant dependency on hslua-marshalling.

The package is a dependency of hslua; all important modules are
re-exported.
This commit is contained in:
Albert Krewinkel 2022-03-28 22:23:36 +02:00
parent 807a574e9d
commit e4f4be6c80
No known key found for this signature in database
GPG key ID: 388DC0B21F631124
4 changed files with 3 additions and 8 deletions

View file

@ -488,7 +488,6 @@ library
file-embed >= 0.0 && < 0.1,
filepath >= 1.1 && < 1.5,
haddock-library >= 1.10 && < 1.11,
hslua-marshalling >= 2.1 && < 2.3,
hslua-module-doclayout>= 1.0.2 && < 1.1,
hslua-module-path >= 1.0 && < 1.1,
hslua-module-system >= 1.0 && < 1.1,

View file

@ -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)

View file

@ -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)

View file

@ -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))