cf. Haskell's `cycle`, Python's `itertools.cycle()`.