Re: [ANN] Clojure 1.9.0-alpha6

2017-01-03 Thread mattias w
*Please make stest/instrument check :ret too, not only :args.* I have been experimenting a lot with spec during December, and I really like it. On the downside, the syntax is very verbose, compared to prismatic schema. However, reuse is much simpler than for schemas. I disagree with this

Re: [ANN] Clojure 1.9.0-alpha6

2016-06-16 Thread Alex Miller
Instrumentation is about verifying that code is invoked correctly (things *external* to a function). The :ret and :fn specs verify that things *internal* to a function are working correctly, and that is seen as a testing-time activity with support in clojure.spec.test. On Wednesday, June 15,

Re: [ANN] Clojure 1.9.0-alpha6

2016-06-15 Thread adrian . medina
Thanks for the link Alex. I understand what changed, but I still don't understand why. Could you elaborate on the thought that went into this? Thank you. On Wednesday, June 15, 2016 at 7:37:52 PM UTC-4, Alex Miller wrote: > > Check out the thread at >

Re: [ANN] Clojure 1.9.0-alpha6

2016-06-15 Thread Sean Corfield
Hopefully you can also provide an answer around my question (in that thread) about losing the “nice” exceptions and instead getting “just” a data structure from things like check-var? Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying

Re: [ANN] Clojure 1.9.0-alpha6

2016-06-15 Thread Alex Miller
Check out the thread at https://groups.google.com/forum/m/#!topic/clojure/RLQBFJ0vGG4 > On Jun 15, 2016, at 5:22 PM, adrian.med...@mail.yu.edu wrote: > > I was wondering if you could shed some light on why instrument was changed to > not automatically check the :ret and :fn specs. I miss that

Re: [ANN] Clojure 1.9.0-alpha6

2016-06-15 Thread adrian . medina
I was wondering if you could shed some light on why instrument was changed to not automatically check the :ret and :fn specs. I miss that feature already, hehe, although I understand that these are alpha versions and things evolve. :) I just want to understand the context behind this decision.

[ANN] Clojure 1.9.0-alpha6

2016-06-14 Thread Alex Miller
Clojure 1.9.0-alpha6 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.9.0-alpha6 - Leiningen: [org.clojure/clojure "1.9.0-alpha6"] 1.9.0-alpha6 includes the following changes since 1.9.0-alpha5: - & regex op now fails fast when regex passes but