We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compare:
(s/explain (:args (s/get-spec `defn)) `(~'foo (~'arg1 ~'arg2) ~'arg3))
Output is:
In: [1 0] val: arg1 fails spec: :clojure.core.specs.alpha/arg-list at: [:bs :arity-n :bodies :args] predicate: vector? In: [1] val: (arg1 arg2) fails spec: :clojure.core.specs.alpha/arg-list at: [:bs :arity-1 :args] predicate: vector?
With expound:
(expound/expound (:args (s/get-spec `defn)) `(~'foo (~'arg1 ~'arg2) ~'arg3))
Output (in part)
-- Spec failed -------------------- (... (arg1 ...) ...) ^^^^ should satisfy vector?
Note that the more interesting case is omitted - that the parent collection is a list instead of a vector.
The text was updated successfully, but these errors were encountered:
This is fixed and will be included in the next release. In the meantime, there 0.7.1-SNAPSHOT includes this fix.
cc @carocad @jumarko @AISUMU
Sorry, something went wrong.
No branches or pull requests
Compare:
Output is:
With expound:
Output (in part)
Note that the more interesting case is omitted - that the parent collection is a list instead of a vector.
The text was updated successfully, but these errors were encountered: