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

Peter van Rooijen peter at vanrooijen.com
Mon Nov 29 10:52:52 CET 2010


Levente is of course right, apologies for not reading
up more before making the same point belatedly
(and with many more words).

So I'll keep on reading now and keep quiet :-).

Cheers, peter

On Thu, 18 Nov 2010 18:57:58 +0100, Levente Uzonyi <leves at elte.hu> wrote:

> 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.
>>
>>


-- 
Peter van Rooijen
Nijlring 83
5152 VJ Drunen
m: 06-2854 2048




More information about the Pharo-project mailing list