4 ms·
With clojure 1.9 clojure.spec will be available and core libraries should be updated. This should make error messages much better. This library however could b
by nickik 10y ago
With clojure 1.9 clojure.spec will be available and core libraries should be updated. This should make error messages much better.
This library however could be a useful edition when you encounter the lower level errors.
- jgalt212 10y agoright b/c you can't clojure.spec everything.
- preek 10y agoBecause some of Clojure Core is written in Java or is there another reason that I'm missing?
- didibus 10y agoSome things in Clojure are so dynamic, that it's still an open research problem as to how you can properly assign types to them.
- jgalt212 10y agobecause clojure.spec, in practice, only governs interaces. It's not going to help you with bugs that are as a result of data structures generated and manipulated inside of a function.
- harperlee 10y agoIs there any date on when 1.9 will be released? I searched a little bit for the date but couldn't find anything concrete (I know I can access lambdas and that there is a spec "antishim"[1] for 1.8 - I'm just curious). [1] https://github.com/tonsky/clojure-future-spec https://github.com/tonsky/clojure-future-spec
- JamesLeonis 10y agoThere is no release date as of yet [1]. But in that thread Sean Cornfield: > Obligatory: “we’ve been running the 1.9 Alphas in production for months so that we can leverage clojure.spec” – no problems so far. [1]: https://groups.google.com/forum/#!topic/clojure/i7ipoze2jos https://groups.google.com/forum/#!topic/clojure/i7ipoze2jos
- eggsyntax 10y agoMy company's also been using 1.9 alphas for months, have maybe encountered a minor bug or two, but very few & nothing major.