On Sun, Jul 7, 2013 at 3:05 PM, Alexei Sholik <notifications@github.com>wrote:

> In lib/elixir/lib/stream.ex:
>
> > @@ -263,6 +268,28 @@ defmodule Stream do
> >    end
> >
> >    @doc """
> > +  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.
>
> maybe "a sequence of natural numbers" would be more precise?
>

I checked, and apparently "natural numbers" is ambiguous. Some say they are
0..., and other say they are 1...


> +  @compile {:inline, increment_func: 0}
> +
> +  @doc false
> +  def increment_func(), do: &1+1


Sorry, I left a sponge in. Can you delete it, or do you want a fresh PR?



Dave



—
> Reply to this email directly or view it on GitHub<https://github.com/elixir-lang/elixir/pull/1388/files#r5055468>
> .
>