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.
This type includes methods to define how the object should behave as
a read-only list of type itemtype.
Constructors
UDTypeudName :: NameudOperations :: [(Operation, fn)]udProperties :: Map Name (Property e a)udMethods :: Map Name fnudAliases :: Map AliasIndex AliasudHooks :: UDTypeHooks e fn audFnPusher :: fn -> LuaE e ()