hi,
�� i'm using a multi-valued dictionary��

https://github.com/vonbecmann/multi-valued-dictionary

in the following way

itemsByKey := MultiValuedDictionary dictionary: IdentityDictionary collection: IdentityDictionary

so i can check the existence of an item by its key (an ordered pair)

(itemsByKey at: anItem key first ifAbsent: nil)
ifNotNil:��
[ :dict |��
(dict at: anItem key second ifAbsent: nil)��
ifNotNil: [ :found | ^ found ] ].


and i add an item like this

itemsByKey��
at: anItem key first��
add: (Association basicNew key: anItem key second value: anItem).

hth

On Sat, May 27, 2017 at 3:28 PM, Stephane Ducasse <stepharo.self@gmail.com> wrote:
Hi

I'm looking for an implementation of dictionary whose value is also a dictionary.

Stef



--
Bernardo E.C.

Sent from a cheap desktop computer in South America.