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.
mapM_ :: Monad m => (a -> m b) -> SerialT m a -> m ()streamly Streamly.Prelude mapM_ = Stream.drain . Stream.mapM
Apply a monadic action to each element of the stream and discard the output of the action. This is not really a pure transformation operation but a transformation followed by fold.mapM_ :: (Monad m, Unboxable a) => (a -> m b) -> Vector a -> m ()unboxing-vector Data.Vector.Unboxing No documentation available.
mapM_ :: (MonoFoldable mono, Applicative m) => (Element mono -> m ()) -> mono -> m ()classy-prelude-yesod ClassyPrelude.Yesod Synonym for omapM_
-
constrained-categories Control.Category.Constrained.Prelude The distinction between mapM_ and traverse_ doesn't really make sense on grounds of Monoidal / Applicative vs Monad, but it has in fact some benefits to restrict this to endofunctors, to make the constraint list at least somewhat shorter.
mapM_ :: (Foldable t, Monad m) => (a -> m b) -> t a -> m ()constrained-categories Control.Category.Hask Map each element of a structure to a monadic action, evaluate these actions from left to right, and ignore the results. For a version that doesn't ignore the results see mapM. mapM_ is just like traverse_, but specialised to monadic actions.
-
constrained-categories Control.Monad.Constrained The distinction between mapM_ and traverse_ doesn't really make sense on grounds of Monoidal / Applicative vs Monad, but it has in fact some benefits to restrict this to endofunctors, to make the constraint list at least somewhat shorter.
-
constrained-categories Data.Foldable.Constrained The distinction between mapM_ and traverse_ doesn't really make sense on grounds of Monoidal / Applicative vs Monad, but it has in fact some benefits to restrict this to endofunctors, to make the constraint list at least somewhat shorter.
mapM_ :: (Foldable t, Monad m) => (a -> m b) -> t a -> m ()copilot-language Copilot.Language.Prelude Map each element of a structure to a monadic action, evaluate these actions from left to right, and ignore the results. For a version that doesn't ignore the results see mapM. mapM_ is just like traverse_, but specialised to monadic actions.
-
hybrid-vectors Data.Vector.Hybrid O(n) Apply the monadic action to all elements of a vector and ignore the results
mapM_ :: (Foldable t, Monad m) => (a -> m b) -> t a -> m ()xmonad-contrib XMonad.Config.Prime Map each element of a structure to a monadic action, evaluate these actions from left to right, and ignore the results. For a version that doesn't ignore the results see mapM. mapM_ is just like traverse_, but specialised to monadic actions.