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. evalNormalFormArray :: NFData e => Comp -> Array e -> Array N Ix1 e

    massiv Data.Massiv.Array.Manifest

    O(n) - Wrap a boxed array and evaluate all elements to a Normal Form (NF).

  2. evalNormalFormMutableArray :: (PrimMonad m, NFData e) => MutableArray (PrimState m) e -> m (MArray (PrimState m) N Ix1 e)

    massiv Data.Massiv.Array.Manifest

    O(n) - Wrap mutable boxed array and evaluate all elements to NF.

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

    Same as for2PrimM_, but with index aware action.

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

    massiv Data.Massiv.Array.Manifest

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

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

    massiv Data.Massiv.Array.Manifest

    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.

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

    massiv Data.Massiv.Array.Manifest

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

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

    massiv Data.Massiv.Array.Manifest

    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.

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

    massiv Data.Massiv.Array.Manifest

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

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

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

Page 633 of many | Previous | Next