Operations and functions that can be pushed to the Lua stack. This
is a helper function not intended to be used directly. Use the
toHaskellFunction wrapper instead.
Methods
partialApply :: StackIndex -> a -> Peek e NumResultsHelper function, called by
toHaskellFunction. Should do a partial application of the argument at the given index to the underlying function. Recurses if necessary, causing further partial applications until the operation is a easily exposable to Lua.
Instances4Exposable
LuaError e => Exposable e (HaskellFunction e)Defined in hslua-classes-2.3.1 · HsLua.Class.Exposable(Peekable a, Exposable e b) => Exposable e (a -> b)Defined in hslua-classes-2.3.1 · HsLua.Class.Exposable(LuaError e, Pushable a) => Exposable e (LuaE e a)Defined in hslua-classes-2.3.1 · HsLua.Class.Exposable(LuaError e, Pushable a) => Exposable e (Peek e a)Defined in hslua-classes-2.3.1 · HsLua.Class.Exposable