So one thing I don't get is why would tristan's pow code sometimes generate a BigInteger, and sometimes a Long for the same resulting number?
But if this is really the problem, it seems like before hashing a number, Clojure should apply some sort of consistent type conversion rule to make sure that numbers which are equal always have the same hash code. Otherwise, the same problem could come up in a lot of different contexts, not just "distinct". --~--~---------~--~----~------------~-------~--~----~ 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 this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---