A userdata type, capturing the behavior of Lua objects that wrap Haskell values. The type name must be unique; once the type has been used to push or retrieve a value, the behavior can no longer be modified through this type.
Modulehslua-objectorientation-2.5.0Haskell2010
HsLua.ObjectOrientation
This module provides types and functions to use Haskell values as userdata objects in Lua. These objects wrap a Haskell value and provide methods and properties to interact with the Haskell value.
The terminology in this module refers to the userdata values as /UD objects, and to their type as UD type/.
- 1 type
- 1 value
- Packagehslua-objectorientation-2.5.0
- Exports2
- LanguageHaskell2010
- LicenceMIT
- SourceObjectOrientation.hs
value
deftypeGeneric Defines a new type, defining the behavior of objects in Lua. Note that the type name must be unique.