Re: Clojure newbie code review

2013-09-10 Thread Igor Demura
Thank you Philipp, this is really helpful! Marshall's guess where *read-eval* from is right. I didn't googled what does it mean, just left as-is from the Leiningen template. Talking on replacement to join. For this function I'll link additional library. My question how this works: in C++ world,

Re: Clojure newbie code review

2013-09-10 Thread Andy Fingerhut
Regarding your question about join: The clojure.string namespace contains the join function recommended to you. All functions in the clojure.string namespace, and several other namespaces (see below for a complete list) are part of the Clojure JAR file, and in that sense come at "no additional cha

Re: Clojure newbie code review

2013-09-10 Thread Marshall Bockrath-Vandegrift
Philipp Meier writes: > (alter-var-root #'*read-eval* (constantly false)) > => why do you think this is necessary? Some versions of the Leiningen `app` template put this in the skeleton initial source file. I assume that’s where this came from. -Marshall -- -- You received this message beca

Re: Clojure newbie code review

2013-09-10 Thread Philipp Meier
Am Dienstag, 10. September 2013 01:24:10 UTC+2 schrieb Igor Demura: > > Hi Clojure community, > > (I tried codereview.stackaxchange.com before, but no responses where) I'm > Clojure newbie, and feel very excited about it and functional programming > in general. I wrote tiny app (59 lines of code