Re: ANN: ClojureScript 1.9.660, compiler performance, runtime performance, cljs.spec fixes

2017-06-27 Thread Alex Miller
Woohoo! Congrats. On Tuesday, June 27, 2017 at 10:35:29 AM UTC-5, David Nolen wrote: > > ClojureScript, the Clojure compiler that emits JavaScript source code. > > README and source code: https://github.com/clojure/clojurescript > > Leiningen dependency information: > > [org.clojure/clojurescript

ANN: ClojureScript 1.9.660, compiler performance, runtime performance, cljs.spec fixes

2017-06-27 Thread David Nolen
ClojureScript, the Clojure compiler that emits JavaScript source code. README and source code: https://github.com/clojure/clojurescript Leiningen dependency information: [org.clojure/clojurescript "1.9.660"] This release includes many performance enhancements to the ClojureScript compiler as we

Re: Numbers/math in Clojure

2017-06-27 Thread Phillip Lord
Alex Miller writes: > On Sunday, June 25, 2017 at 1:55:42 AM UTC-5, henrik42 wrote: >>> Oh, I thought because there is the float-function floats are supported. >> Clojure could use "0.2f" to print/read floats and still use double "0.2" as >> the default (but float's "Infinity" may be challengin

Re: Disable namespaced maps formatting in the REPL?

2017-06-27 Thread Christian Johansen
Thanks! I was on alpha14. In 17, setting *print-namespace-maps* did not work for me in either `lein repl` or CIDER, but the print-method solution did work, though only in lein repl. One step closer. Is this feature set in stone for 1.9, or is it possible to cast a vote somewhere on the default

Re: Disable namespaced maps formatting in the REPL?

2017-06-27 Thread Alex Miller
Works for me in the clojure.main REPL (this is with 1.9.0-alpha17): user=> {:a/b 1} #:a{:b 1} user=> (set! *print-namespace-maps* false) false user=> {:a/b 1} {:a/b 1} It's also possible to redefine the map printer which should work regardless: (defmethod print-method clojure.lang.IPersistentMap