defn-spec
(#55)NOTE: Following upstream changes, Orchestra no longer includes the explain string in the thrown exception. In your applications, catch exceptions and output your own explain strings using the explain data in the exception. I recommend Expound, since it works well and is explicitly tested to do so with Orchestra.
spec.test.alpha
;
now it just patches a couple of upstream fns with alter-var-root
and is a
fraction of the size:ret
to :fn
(#40):orchestra.spec/var
to exception info (#38)s/spec
to non-variadic args in defn-spec
commitdefn-spec
macro #7:via
to s/explain-data
#7clojure.spec.alpha
. Only specs registered by clojure.spec.alpha
will be instrumented. Also added a dependency on [org.clojure/spec.alpha "0.1.94"]
. See this mailing list post for more details on the change. #2Can you improve this documentation? These fine people already did:
jeaye & Daniel ComptonEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close