[ENH] ifNotEmptyCleans

stéphane ducasse ducasse at iam.unibe.ch
Thu Sep 30 13:07:29 UTC 2004


> So I think the following would be a good compromise:
>
> 1) allow 0- and 1-arg block for ifNotEmpty: and ifNotNil: for 
> compatibility
	and said that people should not use 1-arg and use 2)

> 2) provide ifNotEmptyDo: to be used. (there is already ifNotNilDo:).

This is my inmpression
because I tried to write some code and the code hurts me

#(3 4 5) ifNotEmpty: [:col| col inspect]




More information about the Squeak-dev mailing list