Hi Timothy,
Useful to know this behavior is "normal" with respect to the current
state of cljs/core.async -- for the longest time I thought I was doing
something stupid / using wrong compiler options.
Thanks!
On Sun, Feb 9, 2014 at 6:35 AM, Timothy Baldridge wrote:
> Gos work with bindings on
Gos work with bindings on CLJ, CLJs biding support is different enough
that it doesn't currently work with gos.
Timothy
On Sun, Feb 9, 2014 at 7:33 AM, t x wrote:
> Hi,
>
>
> ## Consider this block of code:
>
> (defn init [] ;; called from window.onload
>(def ^:dynamic *dvar*)
>
> (bi
Hi,
## Consider this block of code:
(defn init [] ;; called from window.onload
(def ^:dynamic *dvar*)
(binding [*dvar* 20]
(. js/console log (str "from main: *dvar*: " *dvar*))
(async/go
(. js/console log (str "from go : *dvar*: " *dvar*)
## In Chrome, I get bac
It also works for me now.
Problem: I'm an idiot and forgot to write:
(def ^:dynamic *foo*).
On Sun, Jan 19, 2014 at 9:54 PM, Timothy Baldridge wrote:
> That works just fine on my box, infact, core.async's test code includes
> checking that dynamic vars actually work.
>
> Timothy
>
>
> On Sun
That works just fine on my box, infact, core.async's test code includes
checking that dynamic vars actually work.
Timothy
On Sun, Jan 19, 2014 at 10:11 PM, t x wrote:
> Hi,
>
> Consider this piece of code:
>
> (binding [*foo* 20]
> (async/(async/go
> (+ 1 2 *foo*
>
>
> From t
Hi,
Consider this piece of code:
(binding [*foo* 20]
(async/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