(<!? value)
If value is a channel (implements ReadPort protocol), take the value from it (<!), otherwise return as is. Works with nested channels, I wish there wasn't any.
If value is a channel (implements ReadPort protocol), take the value from it (<!), otherwise return as is. Works with nested channels, I wish there wasn't any.
(alet bindings & exprs)
(alet &form &env bindings & exprs)
Repace with (go (let!? ...)) in cljs and with let in clj.
Repace with (go (let!? ...)) in cljs and with let in clj.
(aloop & expr)
(aloop &form &env & expr)
replace with go-loop in cljs and with loop in clj.
replace with go-loop in cljs and with loop in clj.
(cljs-env? env)
Take the &env from a macro, and tell whether we are expanding into cljs.
Take the &env from a macro, and tell whether we are expanding into cljs.
(if-cljs then else)
Return then if we are generating cljs code and else for Clojure code. https://groups.google.com/d/msg/clojurescript/iBY5HaQda4A/w1lAQi9_AwsJ
Return then if we are generating cljs code and else for Clojure code. https://groups.google.com/d/msg/clojurescript/iBY5HaQda4A/w1lAQi9_AwsJ
(let!? bindings & exprs)
(let!? &form &env bindings & exprs)
In cljs, enclose every binded value in a (<!?) expression.
In cljs, enclose every binded value in a (<!?) expression.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close