Re: Oddity: PersistentTreeMap does not implement SortedMap

2011-01-09 Thread Michael Wood
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

Re: Oddity: PersistentTreeMap does not implement SortedMap

2011-01-09 Thread bOR_
(type (sorted-map-by > 3 1 2 4 5 3)) clojure.lang.PersistentTreeMap user> (type (select-keys (sorted-map-by > 3

Re: Oddity: PersistentTreeMap does not implement SortedMap

2011-01-09 Thread Stuart Halloway
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

Oddity: PersistentTreeMap does not implement SortedMap

2011-01-08 Thread Ken Wesson
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