On a dropdown menu where you can choose between 'apple' -> #apple, 'orange' -> #orange or 'nothing' -> nil, for example :)
On 20.05.2011 11:14, Mariano Martinez Peck wrote:It's not like I'm principaly against it, but... why?
please please please I want that!
I want to be able to do:
aSet
add: 'mariano';
add: nil;
add: 'guille';
add: nil.
aSet size -> 3
aSet contains: nil ��-> true
aSet remove: nil.
aSet contains: nil ��-> false
Other than treating all objects equally, I mean?
I honestly can't come up with a single case where I'd want to put nil in a Set on purpose.
Cheers,
Henry