forM_ is mapM_ with its arguments flipped. For a version
that doesn't ignore the results see forM.
forM_ is just like for_, but specialised to monadic
actions.
forM_ is mapM_ with its arguments flipped. For a version
that doesn't ignore the results see forM.
As of base 4.8.0.0, forM_ is just for_, specialized to
Monad.
for_ is traverse_ with its arguments flipped. For a
version that doesn't ignore the results see for. This is
forM_ generalised to Applicative actions.
for_ is just like forM_, but generalised to
Applicative actions.
Maps a splice generating function over a list and concatenates the
results. This function now has a more general type signature so it
works with both compiled and interpreted splices. The old type
signature was this:
mapSplices :: (Monad n)
=> (a -> Splice n n)
-> [a]
-> Splice n n
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.
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.
As of base 4.8.0.0, mapM_ is just traverse_, specialized
to Monad.
Extend foldMap to allow side effects.
Internally, this is implemented using a strict left fold. This is used
for performance reasons. It also necessitates that this function has a
Monad constraint and not just an Applicative
constraint. For more information, see
https://github.com/commercialhaskell/rio/pull/99#issuecomment-394179757.