2013-09-15 03:19:05 +05:30
|
|
|
(ns frpong.core)
|
|
|
|
|
2013-10-16 21:48:24 +05:30
|
|
|
(defmacro go [& body] `(cljs.core.async.macros/go ~@body))
|
|
|
|
|
2013-09-25 15:28:33 +05:30
|
|
|
(defmacro go-loop [& body]
|
|
|
|
`(cljs.core.async.macros/go
|
|
|
|
(while true
|
|
|
|
~@body)))
|
2013-10-16 21:21:32 +05:30
|
|
|
|
|
|
|
(defmacro rd [& body] `(cljs.core.async/<! ~@body))
|
|
|
|
|
|
|
|
(defmacro wt [& body] `(cljs.core.async/>! ~@body))
|