Fork me on GitHub
#clojure-spec
<
2019-09-15
>
ikitommi09:09:13

Is it intentional that s/valid? can throw? should it return false in case the validation fails on exception?

28
ikitommi09:09:43

e.g.

(s/valid? empty? 1)
; Syntax error (IllegalArgumentException)
; Don't know how to create ISeq from: java.lang.Long