Share your thoughts in the 2021 Clojure Community Survey!

Welcome! Please see the About page for a little more info on how this works.

0 votes
in Compiler by
closed by

Type hinting clojure.spec.alpha/explain-str would help in instances like the following,
(throw (IllegalArgumentException. (s/explain-str ::some-spec value)))

closed with the note: Fixed and released

1 Answer

+1 vote
by
selected by
 
Best answer

I've added this in both spec 1 and 2 for whatever their next future releases are.

by
spec.alpha 0.2.194 was released today and has this change in it.
...