:: Monad m => [a] -> (a -> m ()) -> m () package:Agda
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.
Generalized version of for_ :: Applicative m => [a] -> (a
-> m ()) -> m ()