Howdy,

I'm using core.async and ClojureScript and it seems that inside a go block,
if/when/loop/while code is never executed.

For example:

  (def dog33 (go (if true (.log js/console "it's true") (.log js/console
"it's false"))))

prints neither "it's true" nor "it's false", but

  (def dog33 (go (do (.log js/console "it's true") (.log js/console "it's
false"))))

prints both.

I'm doing lein cljsbuild auto to generate the JavaScript.

Any pointers would be appreciated.

Thanks,

David

-- 
Brick Alloy http://brickalloy. <https://telegr.am>
Lift, the simply functional web framework http://liftweb.net
Follow me: http://twitter.com/dpp
Blog: http://goodstuff.im

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to