clojure 中内置的东西 --> 对序列中的每个元素调用不纯函数?

Something built-in in clojure for --> call an impure function to each element in a sequence?

我想知道 clojure 是否为以下代码内置了一些东西。 我知道我可以做 (map (fn [x] (f x)) coll),然后评估完成的序列 here。我不想那样做。

(defn apply-to-all [f coll]
  (f (first coll))
  (if (= (count (rest coll)) 0) 
    nil
    (apply-to-all f (rest coll))))

"example usage"
(apply-to-all println [0 1 2])
(doseq [x [0 1 2]]
  (println x))