Clojure docstring for libraries/namespaces
-
22-06-2021 - |
質問
How to add docstrings and/or comments to Clojure libaries/namespaces as a whole, i.e. not just to specific functions within the namespace?
I've noticed that the clojure source uses (comment ...)
in some places to do this (example), is that recommended?
他のヒント
You can add a docstring to any namespace in the ns
form.
(ns my.name.space
"Very cool namespace doing this and that."
(:require other.cool.stuff))
所属していません StackOverflow