> Julian: we (stef and I) have something we don't understand. The
> implementation of ifEmpty: is like this in Pharo:
>
> Collection >> ifEmpty: aBlock
> "Evaluate the block if I'm empty"
>
> self isEmpty ifTrue: [ ^aBlock value ]
In Pharo 1.0rc1 it looks like this:
Collection>>ifEmpty: aBlock
"Evaluate the block if I'm empty"
^ self isEmpty ifTrue: aBlock
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project