Re: ClojureScript Debug

2012-04-04 Thread Brian Goslinga
On Monday, April 2, 2012 8:54:07 AM UTC-5, Moritz Ulrich wrote: > > See [1]: "Agents are currently not implemented" > > They wouldn't be very useful, as javascript is single threaded in most > implementations. > > [1]: > https://github.com/clojure/clojurescript/wiki/Differences-from-Clojure > Even

Re: ClojureScript Debug

2012-04-02 Thread Jim - FooBar();
except for atoms of course... On 02/04/12 14:55, Jim - FooBar(); wrote: I don't think any of the concurrency primitives made it to clojureScript... On 02/04/12 14:54, Moritz Ulrich wrote: See [1]: "Agents are currently not implemented" They wouldn't be very useful, as javascript is single t

Re: ClojureScript Debug

2012-04-02 Thread Jim - FooBar();
I don't think any of the concurrency primitives made it to clojureScript... On 02/04/12 14:54, Moritz Ulrich wrote: See [1]: "Agents are currently not implemented" They wouldn't be very useful, as javascript is single threaded in most implementations. [1]: https://github.com/clojure/clojuresc

Re: ClojureScript Debug

2012-04-02 Thread Moritz Ulrich
See [1]: "Agents are currently not implemented" They wouldn't be very useful, as javascript is single threaded in most implementations. [1]: https://github.com/clojure/clojurescript/wiki/Differences-from-Clojure On Mon, Apr 2, 2012 at 14:56, Pierre-Henry Perret wrote: > The following clojurescr

ClojureScript Debug

2012-04-02 Thread Pierre-Henry Perret
The following clojurescript code : (def *peers* (agent {})) compiles to this js code: one.peer.peer._STAR_peers_STAR_ = one.peer.peer.agent.call(null,cljs. core.ObjMap.fromObject([],{})); which throws _ 1. Uncaught TypeError: Cannot call method 'call' of undefined 1. (