Copyright | © 2007–2012 Gracjan Polak 2012–2016 Ömer Sinan Ağacan 2017 Albert Krewinkel |
---|---|
License | MIT |
Maintainer | Albert Krewinkel <tarleb+hslua@zeitkraut.de> |
Stability | beta |
Portability | FlexibleInstances, ScopedTypeVariables |
Safe Haskell | None |
Language | Haskell98 |
Sending haskell objects to the lua stack.
- class ToLuaStack a where
Documentation
class ToLuaStack a where Source #
A value that can be pushed to the Lua stack.
Pushes a value onto Lua stack, casting it into meaningfully nearest Lua type.
ToLuaStack Bool Source # | |
ToLuaStack Int Source # | |
ToLuaStack () Source # | |
ToLuaStack ByteString Source # | |
ToLuaStack Text Source # | |
ToLuaStack LuaNumber Source # | |
ToLuaStack LuaInteger Source # | |
ToLuaStack CFunction Source # | |
ToLuaStack [Char] Source # | |
ToLuaStack a => ToLuaStack [a] Source # | |
ToLuaStack (Ptr a) Source # | |
(ToLuaStack a, ToLuaStack b) => ToLuaStack (Map a b) Source # | |