Loose end: ints(), longs()
brian.goetz at oracle.com
Tue May 28 10:40:31 PDT 2013
This is a pretty good argument against ints() and friends; the proposed
semantics mostly extrapolate from toy examples found in functional
textbooks, rather than real-world problems.
> If it's going to be common to want the positive non-zero range then
> we'll see lots of ints().skip(1).
> I'm not sure ints() is sufficiently general enough. I feel like I'm
> just as almost as likely likely to want MIN_VALUE/MAX_VALUE,
> 1/MAX_VALUE, MIN_VALUE/-1, MIN_VALUE/0, etc.
More information about the lambda-libs-spec-observers