[Pharo-project] XOR: don't recieve a block

Levente Uzonyi leves at elte.hu
Thu Nov 18 18:57:58 CET 2010


On Thu, 18 Nov 2010, Marcus Denker wrote:

>
> On Nov 18, 2010, at 6:34 PM, Stéphane Ducasse wrote:
>
>> & |  don't
>> Do not cnfuse lazy and the others.
>
>
> true xor: [false]
>
> --> walkback.
>
> false xor: [false]
>
> --> [false]
>
> There is a call to #value missing (which will keep it working with booleans, too, as they understand
> #value, too (returning self)).

That's a possible solution, but xor can't be lazy, so the block is just 
pointless.


Levente

>
> 	Marcus
>
> --
> Marcus Denker  -- http://www.marcusdenker.de
> INRIA Lille -- Nord Europe. Team RMoD.
>
>
>


More information about the Pharo-project mailing list