RosettaCodeData/Task/Documentation/Clojure/documentation.clj

8 lines
208 B
Clojure

(def
#^{:doc "Metadata can contain documentation and can be added to vars like this."}
test1)
(defn test2
"defn and some other macros allow you add documentation like this. Works the same way"
[])