I'm working from a fork of Clojurescript, cljs-in-cljs, and have been building a project on top of it. Part of the project involves attempting to use core.async, and I've been backporting patches and update to cljs-in-cljs on an as-needed basis; the cljs-in-cljs fork is a year old.
cljs.core.async.dispatch refers to and uses an 'exists?' definition that does not appear to exist anywhere in my tree or in core.async. Searching through the github master source code for the `exists?` definition has not turned up anything. Defining `exists?` as such, in core.async.dispatch seeems to make it work: (defn exists? [obj] (not= (goog/typeOf obj) "undefined")) However, I am wondering if it is a core language feature that I cannot seem to find -- if it is, I'd add it to cljs-in-cljs rather than monkeypatching core.async. -Wes -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
