Fork me on GitHub
#docs
<
2023-05-10
>
daveliepmann12:05:27

Folks who are interested in improving docs might be interested in upvoting this docstring fix improvement before it gets any older: https://ask.clojure.org/index.php/4645/clojure-core-assert-docstring-is-incorrect (My hypothesis is that it's a holdover from 2009/v1.1, when assert https://github.com/clojure/clojure/commit/0ac482878a1dd520cbee2faa0f5f6ab1082ffa76#diff-313df99869bda118262a387b322021d2cd9bea959fad3890cb78c6c37b448299R2816.)

Alex Miller (Clojure team)13:05:19

it does not say Exception (a class), but exception (a mechanism). there is no promise of a specific class here, and that part of the docstring is still correct

Alex Miller (Clojure team)13:05:37

mentioning *assert* control would be useful

👍 1