On Oct 23, 2013, at 14:34 , Mark Engelberg <mark.engelb...@gmail.com> wrote:
> Another example of why this has more to do with the hashing of sets, than > underlying elements: > => (hash #{#{1 2} 3}) > 6 > => (hash #{#{1 3} 2}) > 6 The hash-combining function for sets must be commutative. But in order for the hashes of #{#{1 2} 3} and #{#{1 3} 2} to be unequal, it must also be non-associative. That's possible, but I'm not sure what would be a good candidate function. Something involving averaging, perhaps? -- -- 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/groups/opt_out.