D-Programming-Language/phobos — pull request #1084 by Poita (2013-01-21 21:25:34+00:00)
Title: Add std.range.orbit

I've often found myself needing a range like this, where recurrence is a bit heavyweight. In fact, I didn't even realise that I could use recurrence for this until I had already written it.

The name comes from group theory: http://en.wikipedia.org/wiki/Orbit_(group_theory)