Set>>add: should ignore nil argument
Marcin Tustin
mt500 at zepler.net
Thu Aug 12 10:03:52 UTC 2004
On Thu, Aug 12, 2004 at 11:50:55AM +0200, radoslav hodnicak wrote:
> On Thu, 12 Aug 2004, Marcin Tustin wrote:
>
> > What if I *want* to store a nil value in a set
>
> Then you have to find a smalltalk dialect that allows it.
OR I could use one that raises an exception, thus allowing
me to detect that I need to use a hack without using a wrapper
that tests every single item inserted for being nil. Which
Squeak allows.
More information about the Squeak-dev
mailing list
|