Fix: remove `mapv` use in frequencies.clj (requires Clojure 1.4+)

This commit is contained in:
Peter Taoussanis 2013-02-08 14:21:22 +07:00
parent ff5ce760cf
commit 27388879a4
1 changed files with 3 additions and 2 deletions

View File

@ -68,8 +68,9 @@
sorted-fvs (sorted-fvals form-stats)] sorted-fvs (sorted-fvals form-stats)]
(str fname " " (str fname " "
(str/join " " (str/join " "
(mapv (fn [v] (vector v (get form-stats v 0))) ;; TODO mapv Clojure 1.4+
sorted-fvs)))))))) (vec (map (fn [v] (vector v (get form-stats v 0)))
sorted-fvs)))))))))
(comment (format-fdata {:name1 {:a 10 :b 4 :c 20} (comment (format-fdata {:name1 {:a 10 :b 4 :c 20}
:name2 {33 8 12 2 false 6}})) :name2 {33 8 12 2 false 6}}))