Re: Q about eval-and-print function in clojurescript's cljs.repl (repl.clj)

2012-09-22 Thread Frank Siebenlist
Thanks for investigating. It seems that inside evaluate-form that map returned by -evaluate, but then the :value's value of that map is returned to the eval-and-print function where that is "read-string" again… Anyway, got it to work now - thanks. On Sep 19, 2012, at 6:47 AM, Hubert Iwaniuk

Re: Q about eval-and-print function in clojurescript's cljs.repl (repl.clj)

2012-09-19 Thread Hubert Iwaniuk
If you look at cljs counterpart of it you'll see that maps are send as responses, that is why read-string is used. HTH Frank Siebenlist wrote: Sorry - I've answered part of my own Q by reading the read-string doc… nothing is eval'ed of the result - just the first "object" is read. Still un

Re: Q about eval-and-print function in clojurescript's cljs.repl (repl.clj)

2012-09-19 Thread Frank Siebenlist
Sorry - I've answered part of my own Q by reading the read-string doc… nothing is eval'ed of the result - just the first "object" is read. Still unclear why read-string is used - why would a second "object" be discarded? Like: user=> (read-string "(+ 1 2) (- 3 2)") (+ 1 2) Still confused...