| Copyright | © 2017 Albert Krewinkel |
|---|---|
| License | MIT |
| Maintainer | Albert Krewinkel <tarleb+hslua@zeitkraut.de> |
| Stability | beta |
| Portability | GeneralizedNewtypeDeriving |
| Safe Haskell | None |
| Language | Haskell98 |
Foreign.Lua.Types.Lua
Description
The core Lua types, including mappings of Lua types to Haskell.
Documentation
Lua computation
Instances
| Monad Lua # | |
| Functor Lua # | |
| Applicative Lua # | |
| MonadIO Lua # | |
| MonadThrow Lua # | |
| MonadCatch Lua # | |
| MonadMask Lua # | |
| ToHaskellFunction HaskellFunction # | |
| MonadReader LuaState Lua # | |
| FromLuaStack a => LuaCallFunc (Lua a) # | |
| ToLuaStack a => ToHaskellFunction (Lua a) # | |
runLuaWith :: LuaState -> Lua a -> IO a #
Run lua computation with custom lua state. Errors are left unhandled, the caller of this function is responsible to catch lua errors.