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.

  1. SmallUnliftedArray :: SmallUnliftedArray# unlifted_a -> SmallUnliftedArray_ (unlifted_a :: UnliftedType) a

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    No documentation available.

  2. type SmallUnliftedArray a = SmallUnliftedArray_ Unlifted a a

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    A type synonym for a SmallUnliftedArray_ containing lifted values of a particular type. As a general rule, this type synonym should not be used in class instances—use SmallUnliftedArray_ with an equality constraint instead. It also should not be used when defining newtypes or datatypes, unless those will have restrictive type roles regardless—use SmallUnliftedArray_ instead.

  3. data SmallUnliftedArray_ (unlifted_a :: UnliftedType) a

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    A SmallUnliftedArray_ a unlifted_a represents an array of values of a lifted type a that wrap values of an unlifted type unlifted_a. It is expected that unlifted_a ~ Unlifted a, but imposing that constraint here would force the type roles to nominal, which is often undesirable when arrays are used as components of larger datatypes.

  4. cloneSmallMutableUnliftedArray :: PrimMonad m => SmallMutableUnliftedArray (PrimState m) a -> Int -> Int -> m (SmallMutableUnliftedArray (PrimState m) a)

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    Creates a new MutableUnliftedArray containing a copy of a portion of another mutable array.

  5. cloneSmallUnliftedArray :: SmallUnliftedArray a -> Int -> Int -> SmallUnliftedArray a

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    Creates a copy of a portion of a SmallUnliftedArray

  6. copySmallMutableUnliftedArray :: PrimMonad m => SmallMutableUnliftedArray (PrimState m) a -> Int -> SmallMutableUnliftedArray (PrimState m) a -> Int -> Int -> m ()

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    Copies the contents of one mutable array into another.

  7. copySmallUnliftedArray :: PrimMonad m => SmallMutableUnliftedArray (PrimState m) a -> Int -> SmallUnliftedArray a -> Int -> Int -> m ()

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    Copies the contents of an immutable array into a mutable array.

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

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    Execute a stateful computation and freeze the resulting array. It is possible, but unlikely, that the computation will be run multiple times in multiple threads.

  9. emptySmallUnliftedArray :: forall (unlifted_a :: UnliftedType) a . SmallUnliftedArray_ unlifted_a a

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    No documentation available.

  10. foldlSmallUnliftedArray :: PrimUnlifted a => (b -> a -> b) -> b -> SmallUnliftedArray a -> b

    primitive-unlifted Data.Primitive.Unlifted.SmallArray

    Lazy left-associated fold over the elements of an SmallUnliftedArray.

Page 512 of many | Previous | Next