remove: and GOODS -- identity problems?

Ragnar Hojland Espinosa ragnar.hojland at linalco.com
Sat Jul 10 15:29:57 UTC 2004


On Fri, Jul 09, 2004 at 04:50:29PM -0700, Avi Bryant wrote:
> 
> On Jul 9, 2004, at 4:46 PM, Ragnar Hojland Espinosa wrote:
> 
> >Hmm.. I am a bit confused;  since the result from #select: would be
> >objects that are already present in the database, I can't see why it
> >would force anything?
> 
> You're right with #select:, but #species is also used by #collect:, for 
> which that wouldn't (necessarily) be true.

Ah yes, now I see what you meant by:

     > mySetOfClassNames collect: [:ea | Smalltalk at: ea]

If mySetOfClassNames would be a KKIdentitySet, it'd instantiate a new
KKIdentitySet which would drag everything in the database.
-- 
Ragnar Hojland - Project Manager
Linalco "Specialists in Linux and Free Software"
http://www.linalco.com  Tel: +34-91-4561700



More information about the Squeak-dev mailing list