Hoogle Search

Within LTS Haskell 24.65 (ghc-9.10.3)

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

  1. ifor2PrimM_ :: forall r1 r2 e1 e2 ix m . (PrimMonad m, Index ix, Manifest r1 e1, Manifest r2 e2) => MArray (PrimState m) r1 ix e1 -> MArray (PrimState m) r2 ix e2 -> (ix -> e1 -> e2 -> m ()) -> m ()

    massiv Data.Massiv.Array.Mutable

    Same as for2PrimM_, but with index aware action.

  2. iforLinearPrimM :: (Manifest r e, Index ix, PrimMonad m) => MArray (PrimState m) r ix e -> (Int -> e -> m e) -> m ()

    massiv Data.Massiv.Array.Mutable

    Sequentially loop over a mutable array while modifying each element with an index aware action.

  3. iforLinearPrimM_ :: (Manifest r e, Index ix, PrimMonad m) => MArray (PrimState m) r ix e -> (Int -> e -> m ()) -> m ()

    massiv Data.Massiv.Array.Mutable

    Sequentially loop over a mutable array while reading each element and applying a linear index aware action to it. There is no mutation to the array, unless the action itself modifies it.

  4. iforPrimM :: (Manifest r e, Index ix, PrimMonad m) => MArray (PrimState m) r ix e -> (ix -> e -> m e) -> m ()

    massiv Data.Massiv.Array.Mutable

    Sequentially loop over a mutable array while modifying each element with an index aware action.

  5. iforPrimM_ :: (Manifest r e, Index ix, PrimMonad m) => MArray (PrimState m) r ix e -> (ix -> e -> m ()) -> m ()

    massiv Data.Massiv.Array.Mutable

    Sequentially loop over a mutable array while reading each element and applying an index aware action to it. There is no mutation to the array, unless the action itself modifies it.

  6. unsafeArrayFromForeignPtr :: Storable e => Comp -> ForeignPtr e -> Int -> Sz1 -> Array S Ix1 e

    massiv Data.Massiv.Array.Unsafe

    O(1) - Wrap a ForeignPtr, an offset and it's size into a pure storable array.

  7. unsafeArrayFromForeignPtr0 :: Comp -> ForeignPtr e -> Sz1 -> Vector S e

    massiv Data.Massiv.Array.Unsafe

    O(1) - Wrap a ForeignPtr and it's size into a pure storable array.

  8. unsafeArrayToForeignPtr :: Index ix => Array S ix e -> (ForeignPtr e, Int)

    massiv Data.Massiv.Array.Unsafe

    O(1) - Yield the underlying ForeignPtr together with its length.

  9. unsafeMArrayFromForeignPtr :: Storable e => ForeignPtr e -> Int -> Sz1 -> MArray s S Ix1 e

    massiv Data.Massiv.Array.Unsafe

    O(1) - Wrap a ForeignPtr, an offset and it's size into a mutable storable array. It is still safe to modify the pointer, unless the array gets frozen prior to modification.

  10. unsafeMArrayFromForeignPtr0 :: ForeignPtr e -> Sz1 -> MArray s S Ix1 e

    massiv Data.Massiv.Array.Unsafe

    O(1) - Wrap a ForeignPtr and it's size into a mutable storable array. It is still safe to modify the pointer, unless the array gets frozen prior to modification.

Page 634 of many | Previous | Next