Set>>add: should ignore nil argument

Andres Valloud sqrmax at cox.net
Sat Aug 14 01:07:16 UTC 2004


Hello Richard,

Friday, August 13, 2004, 2:48:45 AM, you wrote:

RAOK> I have my own collection library now, developed for my own education,
RAOK> and part of it is an implementation of Set and its relatives which
RAOK> - couldn't care less about nil
RAOK> - doesn't have any other sentinel either
RAOK> - would have to waste extra time going out of its way to block nil.
RAOK> - handles filling up rather more gracefully
RAOK> (How?  See any good data structures and algorithms textbook.)

Did you do this by extending Squeak's collection or did you start from
scratch?

Andres.




More information about the Squeak-dev mailing list