alpha11 clojure.spec validation for fdef

2016-09-13 Thread Alex Miller
instrument only checks the :args spec of the function. The higher order function is in the :ret spec so isn't checked. You can use the check function to generate tests that verify the :ret and :fn specs. -- You received this message because you are subscribed to the Google Groups "Clojure" gro

alpha11 clojure.spec validation for fdef

2016-09-13 Thread Frank Moyer
I am trying to write a higher order function in clojure.spec with version 1.9.0-alpha12 and have not been able to get the validation to execute against the returned function. Using the example in the *Higher order functions* section of the clojure.spec guide,