upgrade to clojure 1.7.0 for reducers

This commit is contained in:
Nathan Marz 2016-06-09 16:43:03 -04:00
parent ff03dbc834
commit 02a4bf09ca
2 changed files with 2 additions and 1 deletions

View file

@ -41,7 +41,7 @@
:output-path "target/test-classes"
:rules :cljs}]}
}
:test {:dependencies [[org.clojure/clojure "1.6.0"]]}
:test {:dependencies [[org.clojure/clojure "1.7.0"]]}
}
:aliases {"cleantest" ["do" "clean,"
"cljx" "once,"

View file

@ -56,6 +56,7 @@
(run-benchmark "Traverse into a set" 5000
(set data)
(set (select ALL data))
(into #{} (traverse ALL data))
(persistent!
(reduce conj! (transient #{}) (traverse ALL data)))
(reduce conj #{} (traverse ALL data))