IntStream.sum

Paul Sandoz paul.sandoz at oracle.com
Wed Jan 16 05:32:03 PST 2013


On Jan 16, 2013, at 2:15 PM, Remi Forax <forax at univ-mlv.fr> wrote:
> 
>> And long can hold the result of MAXINT additions?
>> 
> 
> stream are sized is store in a long if a size if definite or can be infinite
> so it solves nothing.
> 

I don't quite understand the above sentence. Are you suggesting reducing/folding on a infinite stream?

Paul.


More information about the lambda-libs-spec-observers mailing list