clojure-spec

Benjamin 2022-05-28T09:31:29.839479Z

Hi, was there not a way to add a spec to the docstring of a function?>

teodorlu 2022-05-30T10:02:29.822249Z

You could change the docs yourself by changing the var metadata: https://clojuredocs.org/clojure.core/alter-meta%21

jumar 2022-05-28T11:42:03.942709Z

I'm not sure about that but some tools like Cider show it when you try to show a docstring for the function.

👍 1