elixir-lang/elixir — pull request #1388 by pragdave (2013-07-07 19:43:36+00:00)
Title: Add Stream.seq() for generating potentially infinite streams of values

Emit a sequence of values, starting with `start_value`. Successive
values are generated by calling `incr_func` on the previous value.
The default parameters generate a sequence of integers starting at 0.