core.async: loop bindings can't see prior brindings

96 views
Skip to first unread message

Kemar

unread,
Aug 8, 2013, 7:02:24 AM8/8/13
to clo...@googlegroups.com
Hi there,

it seems that loop bindings cant's see prior bindings made in
the same loop when the loop is in a go block:

(require '[clojure.core.async :refer [go]])
(go (loop [x 41
y (inc x)] (println y)))

Rather than printing 42, it either complains that x can't be
resolved in that context (in Clojure), or that x ist an undeclared
Var (in ClojureScript).

Cheers,
Kevin


P.S.: is there a better place to post bug reports for core.async?

David Nolen

unread,
Aug 8, 2013, 9:22:42 AM8/8/13
to clojure
You can report issues here: http://dev.clojure.org/jira/browse/ASYNC


--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Timothy Baldridge

unread,
Aug 8, 2013, 10:04:15 AM8/8/13
to clo...@googlegroups.com
Yep, this is bug, please submit a bug report through JIRA, and I'll try to get it fixed ASAP. 

Timothy
--
“One of the main causes of the fall of the Roman Empire was that–lacking zero–they had no way to indicate successful termination of their C programs.”
(Robert Firth)

Kemar

unread,
Aug 8, 2013, 10:41:01 AM8/8/13
to clo...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages