Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
readMutVar :: PrimMonad m => MutVar (PrimState m) a -> m aprimitive Data.Primitive.MutVar Read the value of a MutVar.
readPrimArray :: (Prim a, PrimMonad m) => MutablePrimArray (PrimState m) a -> Int -> m aprimitive Data.Primitive.PrimArray Read a value from the array at the given index. Note: this function does not do bounds checking.
readPrimVar :: (PrimMonad m, Prim a) => PrimVar (PrimState m) a -> m aprimitive Data.Primitive.PrimVar Read a value from the PrimVar.
readOffPtr :: (Prim a, PrimMonad m) => Ptr a -> Int -> m aprimitive Data.Primitive.Ptr Read a value from a memory position given by an address and an offset. The offset is in elements of type a rather than in bytes.
readSmallArray :: PrimMonad m => SmallMutableArray (PrimState m) a -> Int -> m aprimitive Data.Primitive.SmallArray Read the element at a given index in a mutable array. Note: this function does not do bounds checking.
readByteArray# :: Prim a => MutableByteArray# s -> Int# -> State# s -> (# State# s, a #)primitive Data.Primitive.Types Read a value from the mutable array. The offset is in elements of type a rather than in bytes.
readOffAddr# :: Prim a => Addr# -> Int# -> State# s -> (# State# s, a #)primitive Data.Primitive.Types Read a value from a memory position given by an address and an offset. The offset is in elements of type a rather than in bytes.
readAddrArray# :: MutableByteArray# d -> Int# -> State# d -> (# State# d, Addr# #)ghc-prim GHC.Prim Read a machine address; offset in machine words. Warning: this can fail with an unchecked exception.
readAddrOffAddr# :: Addr# -> Int# -> State# d -> (# State# d, Addr# #)ghc-prim GHC.Prim Read a machine address; offset in machine words. On some platforms, the access may fail for an insufficiently aligned Addr#. Warning: this can fail with an unchecked exception.
readCharArray# :: MutableByteArray# d -> Int# -> State# d -> (# State# d, Char# #)ghc-prim GHC.Prim Read an 8-bit character; offset in bytes. Warning: this can fail with an unchecked exception.