Is this behavioral change in Clojure 1.6.0 expected? Under 1.6.0, a set and a map seem to treat a java.util.ArrayList differently with respect to its equivalence to a vector. https://gist.github.com/duelinmarkers/7c9f84cfc238e5d37a09
user=> (-> {} (assoc [1 2] "vec") (assoc (java.util.ArrayList. [1 2]) "alist")) {[1 2] "alist"} user=> (-> #{} (conj [1 2]) (conj (java.util.ArrayList. [1 2]))) *#{[1 2]}* user=> *clojure-version* {:major 1, :minor 5, :incremental 1, :qualifier nil} ;;;;;;;;;;;;;;;;;;;;; user> (-> {} (assoc [1 2] "vec") (assoc (java.util.ArrayList. [1 2]) "alist")) {[1 2] "alist"} user> (-> #{} (conj [1 2]) (conj (java.util.ArrayList. [1 2]))) *#{[1 2] [1 2]}* user> *clojure-version* {:major 1, :minor 6, :incremental 0, :qualifier nil} -- 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 Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.