On 9 January 2011 16:23, bOR_ wrote:
> (type (sorted-map-by > 3 1 2 4 5 3))
> clojure.lang.PersistentTreeMap
> user> (type (select-keys (sorted-map-by > 3 1 2 4 5 3) (list 5 2 3)))
> clojure.lang.PersistentArrayMap
>
> Not sure if this is related in any way but the topic of PersistentTreeMaps,
> b
(type (sorted-map-by > 3 1 2 4 5 3))
clojure.lang.PersistentTreeMap
user> (type (select-keys (sorted-map-by > 3
No, they should: http://dev.clojure.org/jira/browse/CLJ-705
Stu
> I notice that clojure.lang.PersistentTreeMap does not implement
> SortedMap (let alone NavigableMap), unlike java.util.TreeMap.
>
> Any particular reason why?
>
> --
> You received this message because you are subscribed to the
I notice that clojure.lang.PersistentTreeMap does not implement
SortedMap (let alone NavigableMap), unlike java.util.TreeMap.
Any particular reason why?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@goog