Copyright | © 2021-2024 Albert Krewinkel |
---|---|
License | MIT |
Maintainer | Albert Krewinkel <tarleb+pandoc@moltkeplatz.de> |
Safe Haskell | None |
Language | Haskell2010 |
Text.Pandoc.Lua.Marshal.List
Description
Lua lists with additional methods.
Synopsis
- newListMetatable :: Name -> LuaE e () -> LuaE e ()
- luaopen_list_ptr :: CFunction
- pushListModule :: LuaError e => LuaE e ()
- pushPandocList :: LuaError e => Pusher e a -> Pusher e [a]
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.