Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. freezeSmallUnliftedArray :: PrimMonad m => SmallMutableUnliftedArray (PrimState m) a -> Int -> Int -> m (SmallUnliftedArray a)

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    Freezes a portion of a SmallMutableUnliftedArray, yielding a SmallUnliftedArray. This operation is safe, in that it copies the frozen portion, and the existing mutable array may still be used afterward.

  2. getSizeofSmallMutableUnliftedArray :: PrimMonad m => SmallMutableUnliftedArray (PrimState m) a -> m Int

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    Yields the length of a MutableUnliftedArray.

  3. indexSmallUnliftedArray :: PrimUnlifted a => SmallUnliftedArray a -> Int -> a

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    No documentation available.

  4. itraverseSmallUnliftedArray_ :: (PrimUnlifted a, Applicative m) => (Int -> a -> m b) -> SmallUnliftedArray a -> m ()

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    Effectful indexed traversal of the elements of an SmallUnliftedArray, discarding the resulting values.

  5. mapSmallUnliftedArray :: (PrimUnlifted a, PrimUnlifted b) => (a -> b) -> SmallUnliftedArray a -> SmallUnliftedArray b

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    Map over the elements of an SmallUnliftedArray.

  6. newSmallUnliftedArray :: (PrimMonad m, PrimUnlifted a) => Int -> a -> m (SmallMutableUnliftedArray (PrimState m) a)

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    Creates a new MutableUnliftedArray with the specified value as initial contents.

  7. readSmallUnliftedArray :: (PrimMonad m, PrimUnlifted a) => SmallMutableUnliftedArray (PrimState m) a -> Int -> m a

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    No documentation available.

  8. runSmallUnliftedArray :: (forall s . () => ST s (SmallMutableUnliftedArray s a)) -> SmallUnliftedArray a

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    Execute a stateful computation and freeze the resulting array.

  9. sameSmallMutableUnliftedArray :: forall (unlifted_a :: UnliftedType) s a . SmallMutableUnliftedArray_ unlifted_a s a -> SmallMutableUnliftedArray_ unlifted_a s a -> Bool

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    Determines whether two MutableUnliftedArray values are the same. This is object/pointer identity, not based on the contents.

  10. setSmallUnliftedArray :: (PrimMonad m, PrimUnlifted a) => SmallMutableUnliftedArray (PrimState m) a -> a -> Int -> Int -> m ()

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    No documentation available.

Page 513 of many | Previous | Next