Re: distinction of defrecord instances in sorted-set-by does not work

2013-07-25 Thread Timo Mihaljov
On 25.07.2013 11:19, gixxi wrote: > Consider the following record definition, a respective record instance > as well as a sorted tree set with a custom comparator sorting first the > :visited property and the by the :dist property of the record. > > (defrecord RDistance > [node dist visited]) >

distinction of defrecord instances in sorted-set-by does not work

2013-07-25 Thread gixxi
Hi all, Consider the following record definition, a respective record instance as well as a sorted tree set with a custom comparator sorting first the :visited property and the by the :dist property of the record. (defrecord RDistance [node dist visited]) (def d (RDistance. "foo" 1 0)) (def