Skip to content

Commit

Permalink
Merge branch 'master' of git@github.com:onyin/lazy-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
apatil committed Mar 30, 2009
2 parents 36c577c + 8e217cd commit 01c482e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lazy-agent.clj
Expand Up @@ -25,7 +25,8 @@
(defn agent? [x] (instance? clojure.lang.Agent x))
(defn id? [x] (instance? clojure.lang.IDeref x))
(defn deref-or-val [x] (if (id? x) @x x))
(defn map-now [fn coll] (dorun (map fn coll)))
(defn map-now [fn coll]
(doseq [x coll] (fn x)))


; ===============================================================
Expand Down

0 comments on commit 01c482e

Please sign in to comment.