Re: error in nrepl

2017-06-24 Thread Peter Hull
On Friday, 23 June 2017 23:14:55 UTC+1, lawrence...@gmail.com wrote: > > > I'm curious if folks think it is easier to work with Emacs on a Linux > machine, or on a Mac? > > I use Emacs on Mac, Linux and Windows. I disagree that it's more difficult to use on the Mac vs Linux. On Windows I get my

Re: error in nrepl

2017-06-24 Thread Colin Yates
Spacemacs is worth a look for a very different emacs experience. Used with emacs from homebrew and macports (at different times :-)). If you are heavily invested in your own init.el then maybe not as a full time replacement but it is worth a look for its evil, which-key and hydra config alone. On

Numbers/math in Clojure

2017-06-24 Thread henrik42
Hi, I'm doing a little write-up on Java basics and comparing some of them to Clojure (things like mutable shared state, side effects and so on). When I came to "numbers" I was surprised by some of the things I found in Clojure. (== (double 0.5) (float 0.5)) ;; -> true (== (double 0.2)

Re: Numbers/math in Clojure

2017-06-24 Thread Alex Miller
On Saturday, June 24, 2017 at 3:36:21 AM UTC-5, henrik42 wrote: > > Hi, > > I'm doing a little write-up on Java basics and comparing some of them > to Clojure (things like mutable shared state, side effects and so > on). When I came to "numbers" I was surprised by some of the things I > found in

Re: How to call Clojure from Java?

2017-06-24 Thread thelmuth
Thanks for the suggestions! Daniel's code helped me a lot, thanks! One thing that had me stuck for a while is that you have to have a Clojure jar in your classpath. I also worked through a different way, using an uberjar of a Clojure project. I posted my guides here

Re: The soul of case

2017-06-24 Thread Alex Miller
Clojure's behavior is the intended behavior in Clojure. I'll leave the choice of what to do in ClojureScript up to David. Btw, I believe there actually is a case* in Clojure already which is part of the implementation details. -- You received this message because you are subscribed to the

Re: The soul of case

2017-06-24 Thread Matching Socks
Amusingly, ClojureScript's "case" works more like the way I always expect "case" to work. A "case" in Clojure that did what I meant with Java public-static-final constants would be lovely, lovely. ClojureScript's "case" is tasty candy! And now with cljc, those tasty "case" forms are going