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


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