Mike Longworth <m...@mikelongworth.co.uk> writes: > I'm trying to use cljs.core.async to convert async code to > synchronous, I've hit a problem chaining some calls. I'm getting a > runtime state machine problem, here is a test case for the issue:
Since the go macro transforms its body, you cannot have function defs using <!/>! internally in it. Likewise, you cannot call functions from inside it that use <!/>! cause those calls would be invisible to the macro. These limitations are discussed by Rich at the latest think relevance podcast. http://thinkrelevance.com/blog/2013/07/10/rich-hickey-and-core-async-podcast-episode-035 Bye, Tassilo -- -- 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.