IntStream.sum

Remi Forax forax at univ-mlv.fr
Wed Jan 16 05:33:01 PST 2013


On 01/16/2013 02:32 PM, Paul Sandoz wrote:
> 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?

yes, and you throw an exception when you've done, Brian talk about that.

>
> Paul.

Rémi



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