Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

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

  1. unwrapNormalForm :: Array N ix e -> Array B ix e

    massiv Data.Massiv.Array.Manifest

    O(1) - Converts array from N to B representation.

  2. unwrapNormalFormArray :: Array N ix e -> Array e

    massiv Data.Massiv.Array.Manifest

    O(1) - Unwrap a fully evaluated boxed array. This will discard any possible slicing that has been applied to the array.

  3. unwrapNormalFormMutableArray :: MArray s N ix e -> MutableArray s e

    massiv Data.Massiv.Array.Manifest

    O(1) - Unwrap a fully evaluated mutable boxed array. This will discard any possible slicing that has been applied to the array.

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

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

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

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

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

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

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

Page 632 of many | Previous | Next