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.

  1. 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.

  2. 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.

  3. 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

  4. 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.

  5. 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.

  6. iterArrayLinearWithSetM_ :: forall r ix e m s . (Load r ix e, MonadPrimBase s m) => Scheduler s () -> Array r ix e -> (Int -> e -> m ()) -> (Ix1 -> Sz1 -> e -> m ()) -> m ()

    massiv Data.Massiv.Array

    No documentation available.

  7. fromByteArrayOffsetM :: (MonadThrow m, Index ix, Prim e) => Comp -> Sz ix -> Int -> ByteArray -> m (Array P ix e)

    massiv Data.Massiv.Array.Manifest

    O(1) - Construct a primitive array from the ByteArray. Will return Nothing if number of elements doesn't match.

  8. fromMutableByteArrayOffsetM :: (MonadThrow m, Index ix, Prim e) => Sz ix -> Ix1 -> MutableByteArray s -> m (MArray s P ix e)

    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.

  9. unwrapByteArrayOffset :: Array P ix e -> Int

    massiv Data.Massiv.Array.Manifest

    O(1) - Extract potential linear offset into the underlying ByteArray, which can also be extracted with unwrapByteArray.

  10. unwrapMutableByteArrayOffset :: MArray s P ix e -> Int

    massiv Data.Massiv.Array.Manifest

    O(1) - Extract the linear offset into underlying MutableByteArray, which can aslo be extracted with unwrapMutableByteArray.

Page 1306 of many | Previous | Next