Re: [ANN] Clojure Applied: From Practice to Practitioner

2015-04-11 Thread pastafari
Alex I read the preview chapters, great read so far. Looking forward to the whole book. There seems to be a small error in the Value Based Dispatch section on page 8, where the comments don't match the code. oz and lb seem to be flipped! (defmulti convert > "Convert quantity from unit1 to uni

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3196, Conditional Reading, REPLs, and Code Motion

2015-04-11 Thread Bozhidar Batsov
Btw, CIDER 0.9-snapshot was just updated and now works with the latest ClojureScript release. On 11 April 2015 at 18:15, David Nolen wrote: > Yep, the clojure.main option is the one you want. > > David > > On Sat, Apr 11, 2015 at 10:45 AM, Georgi Danov > wrote: > >> I did read it very carefully

Re: [ANN] Baum - Extensible EDSL in EDN for configuration files

2015-04-11 Thread Ryo Fukumuro
Hi Geoff Thank you for using it and sharing your thoughts! I'll admit that using eval and embedding clojure in the config file feels > like a slippery slope. I'm worried I'll quickly make understanding clojure > a prerequisite for editing the config file. > I totally agree. I'd hesitated to ad

Re: [ClojureScript] Re: [ANN] Silk, an isomorphic routing library for Clojure and ClojureScript

2015-04-11 Thread kovas boguta
On Sat, Apr 11, 2015 at 10:46 AM, Malcolm Sparks > > So, in summary, I think it would be useful to have a single 'default' > routing library in Clojure that supported isomorphism and was built on > protocols, as a minimum. Now that Clojure is attracting so many new users, > it would be great to di

Re: Scanners suitable for syntax highlighting?

2015-04-11 Thread Jason Felice
I think LispReader.java fails at #1 as well. On Fri, Apr 10, 2015 at 9:34 PM, Bill Cohagan wrote: > How about Clojure's LispReader.Java at > https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/LispReader.java. > Don't know if it'd do #3 (saving state for restart) > > Bill > > > O

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3196, Conditional Reading, REPLs, and Code Motion

2015-04-11 Thread David Nolen
Yep, the clojure.main option is the one you want. David On Sat, Apr 11, 2015 at 10:45 AM, Georgi Danov wrote: > I did read it very carefully several times, but kept trying to use it via > remote connection (headbang). > > I got it running using the config "use clojure.main in normal JVM > proce

Re: [ClojureScript] Re: [ANN] Silk, an isomorphic routing library for Clojure and ClojureScript

2015-04-11 Thread Malcolm Sparks
Author of bidi here. In his blog article, REST Litmus Test for Web Frameworks - https://www.innoq.com/blog/st/2010/07/rest-litmus-test-for-web-frameworks/ - Stefan Tilkov asks of REST libraries: "Is there an easy way to produce links that "point back" resources identified by whatever mea

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3196, Conditional Reading, REPLs, and Code Motion

2015-04-11 Thread Georgi Danov
I did read it very carefully several times, but kept trying to use it via remote connection (headbang). I got it running using the config "use clojure.main in normal JVM process", is this how it's supposed to be? On Saturday, April 11, 2015 at 4:06:47 PM UTC+2, David Nolen wrote: > I was able

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3196, Conditional Reading, REPLs, and Code Motion

2015-04-11 Thread David Nolen
I was able to connect IntelliJ to a REPL because Cursive can now connect to a ClojureScript REPL started in the usual way. There is no special setup, make sure you've taken the time to read the new ClojureScript Quick Start. HTH, David On Sat, Apr 11, 2015 at 5:06 AM, Georgi Danov wrote: > Hi,

Re: How to to watch changed files and run tests again automatic

2015-04-11 Thread John Jacobsen
If you're used to Rspec, have a look at Speclj.[1] It's somewhat Rspec-like. Its -a option does the same as lein midje :autotest, and works better for some situations. In my experience, the different testing frameworks each have their warts and nice features -- it's worth trying more than one

[ANN] edn.el

2015-04-11 Thread Lars Andersen
https://github.com/expez/edn.el is a library for reading an writing edn from emacs lisp. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated -

Re: ANN: ClojureScript 0.0-3196, Conditional Reading, REPLs, and Code Motion

2015-04-11 Thread Georgi Danov
Hi, I keep having troubles running repl with piggieback and once again I see in the changelog this was improved. I also saw the screenshot in your last tweet which clearly shows intellij can connect. Can you please share your project set-up? Some sort of sample project that has that up & runn

Re: feedback on side project

2015-04-11 Thread Sebastian Bensusan
Hi, I browsed over it, a couple of things: `defonce` is meant for code reloading: (defonce live-games (ref {}))) Don't use `for` when you can use `map`: (mapv (fn [i] {:char i :visible (not (valid-char i))})) Strings can be treated as sequences: (first (.toLowerCase (str char))) Hope this h