for package:basic-prelude

for is traverse with its arguments flipped. For a version that ignores the results see for_.
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