function | since v0.0-2301 | clojure.core/run! | Edit |
(run! proc coll)
Runs the supplied procedure (via reduce), for purposes of side effects, on successive items in the collection. Returns nil
(defn run!
[proc coll]
(reduce #(proc %2) nil coll)
nil)