title: Is there standard "foreach" function in Clojure?
body: <pre><code>Clojure&gt; (doc foreach)
  Unable to resolve var: foreach in this context
  
  Clojure&gt; (doc map)
  -------------------------
  clojure.core/map
  ([f coll] [f c1 c2] [f c1 c2 c3] [f c1 c2 c3 &amp; colls])
  </code></pre>
  
  <p>Of course, i can use the "map" to mimic "foreach" but the map always return nil, which makes the output ugly in the following function:</p>
  
  <pre><code>(defn div618 [p1 p2]
      (let [ratio [0.,0.191,0.236,0.382,0.5,0.618,0.809,1.]
            price (fn [r] (if (&lt;= p1 p2) (+ p1 (* (- p2 p1) r)) (- p1 (* (- p1 p2) r))))]
  
      (if (&lt;= p1 p2)
          (**map** #(println (format "-------%.3f   %.2f-------" %1 (price %1))) (reverse ratio))
          (**map** #(println (format "-------%.3f   %.2f-------" %1 (price %1)))  ratio))))
  </code></pre>
  
  <p>Sincerely!</p>