HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulepandoc-lua-marshal-0.2.7Haskell2010

Text.Pandoc.Lua.Marshal.List

Lua lists with additional methods.

  • 4 values
valuenewListMetatable
  1. :: Name
  2. -> LuaE e ()

    setup

  3. -> LuaE e ()
#

Pushes the metatable of the given List type, creating it if necessary. The setup operation is run when the metatable did not exists, was created, and is then at the top of the stack. The operation may modify the table but must be balanced, and must leave the stack as it found it.

valuepushPandocList :: LuaError e => Pusher e a -> Pusher e [a]
#

Pushes a list as a numerically-indexed Lua table, and sets a metatable that offers a number of convenience functions.