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])
>
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