for_ is:exact

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.

Examples

Basic usage:
>>> for_ [1..4] print
1
2
3
4
The for attribute.
for_ is traverse_ with its arguments flipped. For a version that doesn't ignore the results see for.
>>> for_ [1..4] print
1
2
3
4
Synonym for ofor_
Runs the provided action over the values of a FastMutableIntMap
for_ is traverse_ with its arguments flipped. For a version that doesn't ignore the results see for.
>>> for_ (C.fromList [1..4] :: PrimArray Int) print
1
2
3
4
Constrained to Container version of for_.
>>> for_ [1 .. 5 :: Int] $ \i -> when (even i) (print i)
2
4
Flipped traverse_.
The for attribute.
Convenience function as found in Data.Foldable
flip traverse_