Dec. 27, 2009
6:15 p.m.
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