mirror of https://github.com/status-im/timbre.git
Fix: remove `mapv` use in frequencies.clj (requires Clojure 1.4+)
This commit is contained in:
parent
ff5ce760cf
commit
27388879a4
|
@ -68,8 +68,9 @@
|
|||
sorted-fvs (sorted-fvals form-stats)]
|
||||
(str fname " "
|
||||
(str/join " "
|
||||
(mapv (fn [v] (vector v (get form-stats v 0)))
|
||||
sorted-fvs))))))))
|
||||
;; TODO mapv Clojure 1.4+
|
||||
(vec (map (fn [v] (vector v (get form-stats v 0)))
|
||||
sorted-fvs)))))))))
|
||||
|
||||
(comment (format-fdata {:name1 {:a 10 :b 4 :c 20}
|
||||
:name2 {33 8 12 2 false 6}}))
|
||||
|
|
Loading…
Reference in New Issue