Re: [ANN] Clojure 1.9.0 is now available!

2017-12-26 Thread Mamun
Thanks It is working with (defmethod mycomp ~m [~'_] ~m)) _ is also clojure valid symbol identifier. I miss that point. Br, Mamun On Tuesday, December 26, 2017 at 11:59:23 PM UTC+1, Gary Verhaegen wrote: > > The spec is correct; your code is wrong and I don't know how you got your > expansion

Re: [ANN] Clojure 1.9.0 is now available!

2017-12-26 Thread Gary Verhaegen
The spec is correct; your code is wrong and I don't know how you got your expansion there. $ lein try org.clojure/clojure 1.9.0 nREPL server started on port 55018 on host 127.0.0.1 - nrepl:// 127.0.0.1:55018 REPL-y 0.3.7, nREPL 0.2.12 Clojure 1.8.0 Java HotSpot(TM) 64-Bit Server VM 1.8.0_144-b01

Re: [ANN] Clojure 1.9.0 is now available!

2017-12-26 Thread Mamun
Congratulation. I am getting one problem for defmacro spec with defmethod. Here it is (defmulti mycomp (fn [v] v)) (defmacro defcomp [m] `(defmethod mycomp ~m [_] ~m ) ) (defcomp :test) ;; Throwing exception ;; Expand macro (defmethod mycomp :test [_] :test) ;; it is working

Re: 1.8 vs 1.9 performance

2017-12-26 Thread Beau Fabry
We updated 2 apps to 1.9 about a month ago, I believe another team is planning to update next week. No issues. On Monday, December 25, 2017 at 2:45:01 AM UTC-8, John Stevenson wrote: > > Our team has been running in production on Clojure 1.9 release candidates > for the last 4 months. We proces

Re: Call custom Clojure function with dependencies from Java

2017-12-26 Thread Gary Verhaegen
On 26 December 2017 at 14:54, Pablo J. Villacorta wrote: > Thank you so much guys. > > Yes, it is an error launched by the library, but with a statement that > should be valid since I copied it from the github page of the project. It > seems that the "@cec1ce2" means something but I don't know...

Re: Call custom Clojure function with dependencies from Java

2017-12-26 Thread Pablo J. Villacorta
Thank you so much guys. Yes, it is an error launched by the library, but with a statement that should be valid since I copied it from the github page of the project. It seems that the "@cec1ce2" means something but I don't know... it is exactly this input statement: https://github.com/yetanalyt

durable datascript experiments

2017-12-26 Thread Christian Weilbach
Hi, I have finally taken the time yesterday in a good end-of-year tradition of ambitious hacks to bring the hitchhiker-tree (1) and datascript (2) together. I have only touched the db.cljc namespace in datascript and replaced all calls to the in-memory balanced-tree set (btset) with calls to the h