Re: ANN edn-java

2012-09-22 Thread Ben Smith-Mannschott
On Sun, Sep 23, 2012 at 3:59 AM, Mikera wrote: > Looks cool - going to try it out in a couple of my projects, thanks! > > Question - assuming this is pretty lightweight and efficient, would it also > make sense to use it from Clojure in circumstances where you just want edn > and don't need the fu

Redirect *out* of the cljs-repl?

2012-09-22 Thread Frank Siebenlist
To be more precise, if you do a (print "something") in a cljs-script, that gets compiled and evaluated in the browser's js-vm, then the result is sent back thru a separate http-post and dispatched to the multimethod "handle-post" implementation for :print in clojurescript's cljs.repl.browser: -

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: ANN edn-java

2012-09-22 Thread Mikera
Looks cool - going to try it out in a couple of my projects, thanks! Question - assuming this is pretty lightweight and efficient, would it also make sense to use it from Clojure in circumstances where you just want edn and don't need the full Clojure reader? -- You received this message becau

Re: language shootout / the phonecode study

2012-09-22 Thread Dennis Haupt
nice... he approximately does with for loops what i do without the sugar, hence all the chained calls. i noticed i do a bit more than necessary (the reverse thing is a remainder of an early misinterpretation of the spec), but who cares, it works :) however, odersky's short version doesn't solve th

Re: language shootout / the phonecode study

2012-09-22 Thread David Nolen
On Sat, Sep 22, 2012 at 11:27 AM, Dennis Haupt wrote: > here's my solution: > https://gist.github.com/3766508 > > the original (done in 2 hours) solution is commented out. i made some > improvements and solved the whole thing in 39 lines (counting only the > content of "main"). doing it in the mi

Re: language shootout / the phonecode study

2012-09-22 Thread Dennis Haupt
here's my solution: https://gist.github.com/3766508 the original (done in 2 hours) solution is commented out. i made some improvements and solved the whole thing in 39 lines (counting only the content of "main"). doing it in the minimal amount of lines was not my goal. i was trying to minimize the

Re: Clojure Programming is a great book

2012-09-22 Thread Ali M.
Greetings, I also just got this book as an ebook from oreilly, they were having 50% off of everything (or at least ebooks) Anyway, is there a dedicated mailing list to discuss this book? I plan to read most of it in the next month or so :) It would be nice if there is a mailing list where I can r