Which versions of ClojureScript and core.async are you using? David
On Mon, Sep 16, 2013 at 5:25 PM, David Pollak <feeder.of.the.be...@gmail.com > wrote: > 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. > -- -- 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.