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

0 votes
in Spec by

currently spec doesn't have comment parameter for detail.'

https://github.com/clojure/spec.alpha/blob/master/src/main/clojure/clojure/spec/alpha.clj#L1970

(defmacro assert (link: spec x)

I think it is better to add comment parameter for debugging.

(defmacro assert ((link: spec x)) ((link: spec x comment)))

1 Answer

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJ-2411 (reported by alex+import)
...