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.

  1. readMutVar :: PrimMonad m => MutVar (PrimState m) a -> m a

    primitive Data.Primitive.MutVar

    Read the value of a MutVar.

  2. readPrimArray :: (Prim a, PrimMonad m) => MutablePrimArray (PrimState m) a -> Int -> m a

    primitive Data.Primitive.PrimArray

    Read a value from the array at the given index. Note: this function does not do bounds checking.

  3. readPrimVar :: (PrimMonad m, Prim a) => PrimVar (PrimState m) a -> m a

    primitive Data.Primitive.PrimVar

    Read a value from the PrimVar.

  4. readOffPtr :: (Prim a, PrimMonad m) => Ptr a -> Int -> m a

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

  5. readSmallArray :: PrimMonad m => SmallMutableArray (PrimState m) a -> Int -> m a

    primitive Data.Primitive.SmallArray

    Read the element at a given index in a mutable array. Note: this function does not do bounds checking.

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

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

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

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

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

Page 74 of many | Previous | Next