Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
imapM_ :: (Index ix, Source r a, Monad m) => (ix -> a -> m b) -> Array r ix a -> m ()massiv Data.Massiv.Array Map a monadic index aware function over an array sequentially, while discarding the result.
Examples
>>> import Data.Massiv.Array >>> imapM_ (curry print) $ range Seq (Ix1 10) 15 (0,10) (1,11) (2,12) (3,13) (4,14)
simapM_ :: forall r ix a b m . (Stream r ix a, Monad m) => (ix -> a -> m b) -> Array r ix a -> m ()massiv Data.Massiv.Vector Traverse a stream vector with a monadic index aware function, while discarding the result
Examples
smapM_ :: forall r ix a b m . (Stream r ix a, Monad m) => (a -> m b) -> Array r ix a -> m ()massiv Data.Massiv.Vector Traverse a stream vector with a monadic function, while discarding the result
Examples
imapM_ :: (Context a, Monad m) => ((Int, Int) -> a -> m b) -> Matrix a -> m ()matrices Data.Matrix O(m*n) Apply the monadic action to every element and its index, ignoring the results.
-
matrices Data.Matrix.Generic O(m*n) Apply the monadic action to every element and its index, ignoring the results.
imapM_ :: (Context a, Monad m) => ((Int, Int) -> a -> m b) -> Matrix a -> m ()matrices Data.Matrix.Storable O(m*n) Apply the monadic action to every element and its index, ignoring the results.
imapM_ :: (Context a, Monad m) => ((Int, Int) -> a -> m b) -> Matrix a -> m ()matrices Data.Matrix.Unboxed O(m*n) Apply the monadic action to every element and its index, ignoring the results.
imapM_ :: Monad m => (Int -> a -> m b) -> Vector a -> m ()rebase Rebase.Data.Vector No documentation available.
imapM_ :: (Monad m, Vector v a) => (Int -> a -> m b) -> v a -> m ()rebase Rebase.Data.Vector.Generic No documentation available.
imapM_ :: (PrimMonad m, MVector v a) => (Int -> a -> m b) -> v (PrimState m) a -> m ()rebase Rebase.Data.Vector.Generic.Mutable No documentation available.