hg: lambda/lambda/jdk: Update initial lambda APIs and tests to use new syntax.
Collin Fagan
collin.fagan at gmail.com
Sun Sep 11 18:29:33 PDT 2011
I vote to leave xor in. I've had to write it a few times now and it's always
frustrating when xor is overlooked.
Collin
On Sun, Sep 11, 2011 at 12:30 PM, Bob Foster <bobfoster at gmail.com> wrote:
> Remi Forax wrote:
>
> > BTW I think the methods xor should be removed
> > for the same reason there is no ^^ in C
> > (nobody use xor in test between booleans)
>
> There is no ^^ in C because xor can't be short-circuited. You can, however,
> use ^ to combine logical results in C. I've done it.
>
> Pedantry aside, you're probably right. :)
>
> Bob
>
>
More information about the lambda-dev
mailing list