Which version of ClojureScript are you using Lance? It looks like this difference is resolved in CLJS-1304 https://github.com/clojure/clojurescript/commit/3e146905999f9b9ffb249e139e266f845c4af34c which is part of CLJS 1.7.122 (not a stable release yet).
On Tue, Sep 8, 2015 at 6:02 AM Lance Campbell <[email protected]> wrote: > Okay, I played around a bit more with this problem over the long weekend > and I found my groups. Running the following code: > > (defn print-results > [& rest] > (println (str rest)) > "done") > > (clojure.string/replace "one and two and three" #"(.+) and (.+) and (.+)" > (partial print-results)) > > In the Clojure REPL I get: > > (["one and two and three" "one" "two" "three"]) > "done" > > In the Clojurescript REPL I get: > > ("one and two and three" "one" "two" "three" 0 "one and two and three") > "done" > > So, it appears that Clojure passes a single array argument whereas > Clojurescript passes multiple arguments. So the code needs to be different > for each language, but at least I found my groups :). > > -- > 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. > -- Daniel -- 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.
