Another interesting approach would be real compiler support for promises so we can get something closer to Clojure JVM semantics. This would require someone to get a bit more serious about the CLJS AST and related infrastructure for pluggable passes.
David On Mon, Nov 26, 2012 at 6:51 PM, Frank Siebenlist < [email protected]> wrote: > All this call-back stuff drives me crazy in ClojureScript&JS… > > Unfortunately we do not have a "real" cljs promise yet. > > There seem to be javascript constructs that promise (pun intended) to do > similar things - jQuery has some deferred and promise things. > > I have no experience with any of those javascript libs, and I cannot find > any example in ClojureScript that use those… > > Any advise/suggestions/pointers/cljs-sample-code? > > Thanks, FrankS. > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected] > 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 post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
