Jonas De Vuyst
added a comment - 29/Nov/13 1:45 PM - edited I added a new patch, in which cljs.core/PersistentHashMap is substituted for clojure.lang.PersistentHashMap – although that part is actually commented out because CLJS maps do not have a method .fold.
I also added tests for reducing and folding of maps (which I also tested in Clojure).