On 15/11/2009 21:53, BLS wrote: > == > Now : Sorry for my ignorance ... but Why the heck : > > struct RBNode(V) > > instead of : > > struct RBNode(K, V) Because of : dcollections.TreeMap struct element ; the elements that are passed to the tree. Note that if you define a custom update or compare function, it should take element structs, not K or V. ??