for_ package:diagrams-lib

Traverse elements with access to the index i, discarding the results (with the arguments flipped).
ifor_flip itraverse_
When you don't need access to the index then for_ is more flexible in what it accepts.
for_ a ≡ ifor_ a . const