Simplifying sequential() / parallel()

Tim Peierls tim at peierls.net
Thu Mar 21 13:34:24 PDT 2013


On Thu, Mar 21, 2013 at 4:21 PM, Brian Goetz <brian.goetz at oracle.com> wrote:

> I'm pretty comfortable just saying "lambdas passed to stream ops should
>>> not be stateful, if they are, this may result in wrong or non-deterministic
>>> outcomes."
>>
>>
> Does anyone feel otherwise?
>

Not me. I'd even be comfortable with something stronger: "Passing stateful
lambdas to stream ops will give you a rash."

--tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/lambda-libs-spec-experts/attachments/20130321/2879d779/attachment.html 


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