Thanks. I wasn't sure if that applied to priority maps as well.
On Wednesday, 21 November 2012 21:35:54 UTC-5, puzzler wrote:
>
> As per the other thread, remember that in Clojure sorted collections only
> function properly when given a function that obeys the trichotomy property
> (exactly one
As per the other thread, remember that in Clojure sorted collections only
function properly when given a function that obeys the trichotomy property
(exactly one of the following hold: a wrote:
> I'm not sure if this is an error or not, but priority-maps behaves
> strangely when given a function l
I'm not sure if this is an error or not, but priority-maps behaves
strangely when given a function like <=.
(pop (priority-map-by <= :a 1 :b 2 :c 3))
=> {:a 1 :b 2 :c 3} ;; First element isn't popped.
Is this supposed to happen?
--
You received this message because you are subscribed to the Go