Hoogle Search
Within LTS Haskell 24.69 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
lua_rawset :: State -> StackIndex -> IO ()lua Lua Similar to lua_settable, but does a raw assignment (i.e., without metamethods). https://www.lua.org/manual/5.4/manual.html#lua_rawset.
lua_rawseti :: State -> StackIndex -> Integer -> IO ()lua Lua Does the equivalent of t[i] = v, where t is the table at the given index and v is the value at the top of the stack. This function pops the value from the stack. The assignment is raw, that is, it does not invoke the __newindex metamethod. https://www.lua.org/manual/5.4/manual.html#lua_rawseti.
lua_setglobal :: State -> CString -> IO ()lua Lua Warning: This is an unsafe function, errors will lead to a program crash;consider using hslua_getglobal instead.
lua_setiuservalue :: State -> StackIndex -> CInt -> IO LuaBoollua Lua Pops a value from the stack and sets it as the new n-th user value associated to the full userdata at the given index. Returns 0 if the userdata does not have that value. https://www.lua.org/manual/5.4/manual.html#lua_setiuservalue
lua_setmetatable :: State -> StackIndex -> IO ()lua Lua Pops a table from the stack and sets it as the new metatable for the value at the given index. https://www.lua.org/manual/5.4/manual.html#lua_setmetatable.
lua_settable :: State -> StackIndex -> IO ()lua Lua Warning: This is an unsafe function, errors will lead to a program crash;consider using hslua_settable instead.
lua_settop :: State -> StackIndex -> IO ()lua Lua Accepts any index, or 0, and sets the stack top to this index. If the new top is larger than the old one, then the new elements are filled with *nil*. If index is 0, then all stack elements are removed. https://www.lua.org/manual/5.4/manual.html#lua_settop
lua_setupvalue :: State -> StackIndex -> CInt -> IO CStringlua Lua Sets the value of a closure’s upvalue. It assigns the value on the top of the stack to the upvalue and returns its name. It also pops the value from the stack. Returns NULL (and pops nothing) when the index n is greater than the number of upvalues. Parameters funcindex and n are as in the function lua_getupvalue.
[-(0|1), +0, -]
lua_setupvalue.lua_setwarnf :: State -> WarnFunction -> Ptr () -> IO ()lua Lua Sets the warning function to be used by Lua to emit warnings (see WarnFunction). The ud parameter sets the value ud passed to the warning function.
pattern
LUA_GCSETPAUSE :: GCCodelua Lua.Constants Sets data as the new value for the pause of the collector (see §2.5) and returns the previous value of the pause.