I've played a little bit with client-side compilation and don't entirely understand the role of *load-fn* when non-macros namespace is used (https://github.com/clojure/clojurescript/blob/master/src/main/cljs/cljs/js.cljs#L76).
I see the need to load source file with macros (so that they can be evaluated and change code), but if my namespace includes - how its source is used for compilation? Example: (ns my.ns (:require [foo.bar :as bar])) (defn say-hello [name] (bar/print "Hello" name)) Why source of foo.bar is needed to compile this code? I believe (bar/print ...) will be compiled to foo.bar.print(...) any way. -- 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.
