Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
unsafeReadVector :: Storable t => STVector s t -> Int -> ST s thmatrix Numeric.LinearAlgebra.Devel No documentation available.
-
hslua-core HsLua.Core type of Lua threads
isthread :: StackIndex -> LuaE e Boolhslua-core HsLua.Core Returns True if the value at the given index is a thread, and False otherwise. Wraps lua_isthread.
-
hslua-core HsLua.Core Pushes the current thread onto the stack. Returns True if this thread is the main thread of its state, False otherwise. Wraps lua_pushthread.
tothread :: StackIndex -> LuaE e (Maybe State)hslua-core HsLua.Core Converts the value at the given index to a Lua thread (represented as State). This value must be a thread; otherwise, the function returns Nothing. Wraps lua_tothread.
-
hslua-core HsLua.Core.Types type of Lua threads
unRead :: a -> InputStream a -> IO ()io-streams System.IO.Streams Pushes a value back onto an input stream. read and unRead should satisfy the following law, with the possible exception of side effects:
Streams.unRead c stream >> Streams.read stream === return (Just c)
Note that this could be used to add values back to the stream that were not originally drawn from the stream.data
TooManyBytesReadException io-streams System.IO.Streams.ByteString Thrown by throwIfProducesMoreThan when too many bytes were read from the original InputStream.
unRead :: a -> InputStream a -> IO ()io-streams System.IO.Streams.Core Pushes a value back onto an input stream. read and unRead should satisfy the following law, with the possible exception of side effects:
Streams.unRead c stream >> Streams.read stream === return (Just c)
Note that this could be used to add values back to the stream that were not originally drawn from the stream._read :: InputStream a -> IO (Maybe a)io-streams System.IO.Streams.Internal No documentation available.