In squeak, if you send ifEmpty: or ifNotEmpty: to a collection and the condition being tested (emptiness or non-emptiness) is false, then the receiver (the collection) is returned rather than nil. This is more useful and more in line with how ifNil: and ifNotNil: work (which each otherwise return the receiver).
See this bug report for more information: http://bugs.squeak.org/view.php?id=6364 _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
