Skip to content

Commit

Permalink
usable names for async-loop and async-recur
Browse files Browse the repository at this point in the history
  • Loading branch information
hiredman committed Nov 5, 2010
1 parent 4fa8b9f commit 0a2b645
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/geister/core.clj
Expand Up @@ -126,6 +126,12 @@
b#
(task b#))))))))

(defmacro async-loop [& body]
`(loop′ ~@body))

(defmacro async-recur [& body]
`(recur′ ~@body))

(comment

(async [n (task (+ 1 2))
Expand Down

0 comments on commit 0a2b645

Please sign in to comment.