paul.sandoz at oracle.com
Tue Sep 18 08:34:25 PDT 2012
On Sep 18, 2012, at 4:56 PM, Remi Forax <forax at univ-mlv.fr> wrote:
> On 09/18/2012 04:15 PM, Paul Benedict wrote:
>> Shouldn't it be illegal to concat on an infinite stream? I propose throwing
>> ISE if the target stream is infinite.
> and what about infinite streams and into() ?
It is possible to detect that case (the current impl does) e.g. a known infinite stream is input to a non-short circuiting terminal operation. But there other cases, as Brian points out, where we don't know.
> I think it's better to just drop them.
More information about the lambda-dev