Re: ANN: ClojureScript 1.9.14, clojure.spec port

2016-06-02 Thread Shaun LeBron
Great stuff, thanks! I'm not familiar, but is the `clojure.spec.gen` namespace going to be ported? On Wednesday, June 1, 2016 at 1:01:58 PM UTC-5, David Nolen wrote: > ClojureScript, the Clojure compiler that emits JavaScript source code. > > > README and source code: https://github.com/clojur

Re: [ClojureScript] Re: ANN: ClojureScript 1.9.14, clojure.spec port

2016-06-01 Thread David Nolen
Choosing cljs.spec over clojure.spec is out of necessity not preference - Clojure has already taken the namespace and that namespace defines macros. We are considering aliasing support for cljs.spec. That is rewriting clojure.spec vars in ClojureScript sources to cljs.spec but it will likely cover

Re: [ClojureScript] Re: ANN: ClojureScript 1.9.14, clojure.spec port

2016-06-01 Thread Daniel Compton
Would it be good to change the namespace for spec from cljs.spec to clojure.spec? This will make CLJC files nicer to write as you won’t need to have reader conditionals for requiring cljs.spec in CLJS and clojure.spec in CLJ. It seems like spec is going to be used by lots of projects, so the choic

Re: ANN: ClojureScript 1.9.14, clojure.spec port

2016-06-01 Thread Walter van der Laan
It's like magic. I added some specs to cljc namespaces and it just works! I'm making domain specific error messages with just a few lines of code. This is a huge leap forward. Thank you, and all involved, so much. -- You received this message because you are subscribed to the Google Groups "Cl