Generators
Paul Sandoz
paul.sandoz at oracle.com
Fri Jan 4 04:59:17 PST 2013
On Jan 3, 2013, at 10:00 PM, Brian Goetz <brian.goetz at Oracle.COM> wrote:
>> To be clear: range and ints() are the only remaining int generators?
>
> Ranges: there's a "stepping" version of range too.
Should the upper bound of range be open or closed? For the current implementation it is open but means one can never iterate to MAX_VALUE.
May be stating the obvious here but we also need to support negative ranges and step values.
Paul.
More information about the lambda-libs-spec-experts
mailing list