Hi there, For core.async, what are the rules for, *i)* having vals from a function closure, *ii)* passed into a go block. In the example below, I cannot pass in the system-atom to the handle function. The call will just die silently, without throwing any exception. Instead, I have to pass in a nil for the function to be invoked.
Is this expected behaviour? Is it a bug? I would've expected an exception to be thrown if that's forbidden. (fn [system-atom handlefn] (println "sanity check: " system-atom) (go (loop [msg (<! chanl)] ;; (handlefn system-atom msg) (handlefn nil msg) (recur (<! chanl))))) Thanks Tim Washington Interruptsoftware.com <http://interruptsoftware.com> -- -- 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.