[GOODIE] BinaryRelation

Hannes Hirzel hannes.hirzel.squeaklist at bluewin.ch
Thu Mar 27 17:20:40 UTC 2003


Daniel Vainsencher <danielv at netvision.net.il> wrote:
> At the risk of sounding quite base and showing my complete lack of
> flight and imagination -
> 
> What can I do with it? are there example? applications?
> 
> Just curious.
> 
> Daniel


Yes, why not just use a standard Dictionary?

If I have 

Element A is related to B (both directions)

I would just do

d _ Dictionary new.
d at: #A put: #B.
d at: #B put: #A.

Am I missing something?

-- Hannes



More information about the Squeak-dev mailing list