Closed oelrich closed 1 year ago
Hi @oelrich,
What you're seeing is the result of two things interacting:
Note that while (= {:a 1 :b 1} {:b 1 :a 1})
is true in Clojure, their sequential representations (relevant here due to serialization) are actually different:
(seq {:a 1 :b 1}) ; => ([:a 1] [:b 1])
(seq {:b 1 :a 1}) ; => ([:b 1] [:a 1])
Depending on your specific needs, you have a few options:
seq
order (e.g. set).hash
fn is already designed to account for these kinds of cases.Hope that helps!
Yes, that helped. Thank you!
Hello!
Using
com.taoensso/carmine {:mvn/version "3.3.0-RC1"}
(orcom.taoensso/carmine {:mvn/version "3.2.0"}
) I get the following results:When I expected something simliar to the result when using sets: