| Portability | non-portable (uses ghc extensions) |
|---|---|
| Stability | experimental |
| Maintainer | ajnsit@gmail.com |
| Safe Haskell | None |
Scripting.LuaUtils
Description
This package is an add-on to the HsLua package by Gracjan Polak (http:hackage.haskell.orgpackagehslua).
HsLua only provides a very bare-bones wrapper over the Lua API, and this package is meant to fill in the gap by providing some commonly used features.
Currently the following features are provided -
-
Lua.StackValueinstances for a variety of commonly used datatypes, such as Lists, Tuples, Either, Maybe etc. 2.luaDoStringandluaDoFileutility functions. 3. A function to dump the contents of the stack for debugging purposes (dumpStack).