Re: `format` behavior on Clojure vs CLJS

2012-08-29 Thread Shantanu Kumar
On Aug 29, 7:04 pm, David Nolen wrote: > On Wed, Aug 29, 2012 at 7:07 AM, Moritz Ulrich wrote: > > > Shantanu Kumar writes: > > >> Hi, > > >> I noticed that on the Clojure REPL, `format` works fine: > > >> user=> (format "foo%s" :s) > >> "foo:s" > >> user=> (format "foo%s" 's) > >> "foos" > > >

Re: `format` behavior on Clojure vs CLJS

2012-08-29 Thread David Nolen
On Wed, Aug 29, 2012 at 7:07 AM, Moritz Ulrich wrote: > > Shantanu Kumar writes: > >> Hi, >> >> I noticed that on the Clojure REPL, `format` works fine: >> >> user=> (format "foo%s" :s) >> "foo:s" >> user=> (format "foo%s" 's) >> "foos" >> >> However, on the CLJS REPL (Rhino), I get this: >> >> Cl

Re: `format` behavior on Clojure vs CLJS

2012-08-29 Thread Moritz Ulrich
Shantanu Kumar writes: > Hi, > > I noticed that on the Clojure REPL, `format` works fine: > > user=> (format "foo%s" :s) > "foo:s" > user=> (format "foo%s" 's) > "foos" > > However, on the CLJS REPL (Rhino), I get this: > > ClojureScript:cljs.user> (format "foo%s" :s) > "foo���'s" > ClojureScript