[squeak-dev] The Trunk: Collections-eem.756.mcz

Stéphane Rollandin lecteur at zogotounga.net
Fri Jun 16 10:38:45 UTC 2017


> 
> Stéphane, can you live with ifMissingAdd: ?  Chris?
> 

Sure. Now "missing" seems to imply that something went wrong and an 
element is not there while it should (which is why I would prefer 
#ifAbsentAdd:).

Plus, the name does not tell that a Boolean is returned (this apply to 
#ifAbsentAdd: too).

So what about #ensurePresenceOf: ?

I would expect this to return true if the element was *not* added, false 
otherwise, though.


Stef


More information about the Squeak-dev mailing list