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_setmetatable :: State -> StackIndex -> IO ()lua Lua.Primary 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.Primary 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.Primary 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_setwarnf :: State -> WarnFunction -> Ptr () -> IO ()lua Lua.Primary 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.
hsluaL_setwarnf :: State -> IO ()lua Lua.Warn Sets a warning function. This is a simplified version of lua_setwarnf. The function at the top of the stack is set as the "warning hook", i.e., it is called with the concatenated warning components as the single argument. The hook function is popped of the stack. The control messages @on and @off are still supported; as with the default warning function, these commands can switch error reporting to stderr on and off. The given Haskell function will be called in either case, even when the error is not written to stderr.
-
massiv Data.Massiv.Array No documentation available.
-
massiv Data.Massiv.Array.Manifest O(1) - Construct a primitive array from the ByteArray. Will return Nothing if number of elements doesn't match.
-
massiv Data.Massiv.Array.Manifest O(1) - Construct a primitive mutable array from the MutableByteArray. Will throw SizeElementsMismatchException if number of elements doesn't match.
unwrapByteArrayOffset :: Array P ix e -> Intmassiv Data.Massiv.Array.Manifest O(1) - Extract potential linear offset into the underlying ByteArray, which can also be extracted with unwrapByteArray.
unwrapMutableByteArrayOffset :: MArray s P ix e -> Intmassiv Data.Massiv.Array.Manifest O(1) - Extract the linear offset into underlying MutableByteArray, which can aslo be extracted with unwrapMutableByteArray.