The following code produces the correct result in Clojure but incorrect results in ClojureScript:
Clojure produces the following output:
ClojureScript produces the following output:
I expect the hash code to change as I conj items onto the list. Instead, the hash code stays the same even though we can se that the result of "count" changes.
At the time of writing, I host a leiningen project on my github user that contains the exact setup and a README for how I run the code:
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)