(defn alert [& xs] (js/alert (apply str xs))) works in cljsc compiled code but not in the browser repl. There I get
ClojureScript:cljs.user> (defn alert [& xs] (js/alert (apply str xs))) #<function (var_args){ var xs = null; if (goog.isDef(var_args)) { xs = cljs.core.array_seq(Array.prototype.slice.call(arguments, 0),0); } return alert__delegate.call(this, xs); }> ClojureScript:cljs.user> (alert 1 2 3) "Error evaluating:" (cljs.core.pr-str (alert 1 2 3)) :as "cljs.core.pr_str.call(null,cljs.user.alert.call(null,1,2,3));\n" #<RangeError: Maximum call stack size exceeded> nil Can anyone reproduce/explain? Thanks, Scott -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en