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