Is `loop` the best name for this? Is this what it's call in other libraries like Guava or in Python?