Oh, nevermind. I hadn't switched my svn over to the Google Code
repository, so I was on 1162... up to 1185 and we're ok.
So yeah.
user=> (sort-by frest {:a 2 :b 3 :c 1})
([:c 1] [:a 2] [:b 3])
On Dec 27, 12:50 pm, kwatford wrote:
> Sorted maps sort only on keys, sorry. I was going to suggest u
Sorted maps sort only on keys, sorry. I was going to suggest using
(sort-by frest foo) to at least get a sequence in the right order, but
it seems like sorting might be broken at the moment? Looks like this
response has turned into a bug report...
user=> (sort [3 1 2])
java.lang.ClassCastExceptio
Is there a way to sort a sorted-map-by by value without a letrec?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from thi