pandoc-lua-marshal-0.3.0: Use pandoc types in Lua
Copyright© 2021-2024 Albert Krewinkel
LicenseMIT
MaintainerAlbert Krewinkel <tarleb+pandoc@moltkeplatz.de>
Safe HaskellNone
LanguageHaskell2010

Text.Pandoc.Lua.Marshal.List

Description

Lua lists with additional methods.

Synopsis

Documentation

newListMetatable :: Name -> LuaE e () -> LuaE e () #

luaopen_list_ptr :: CFunction #

pushListModule :: LuaError e => LuaE e () #

pushPandocList :: LuaError e => Pusher e a -> Pusher e [a] Source #

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