Inline asserts and helpers
Inline asserts and helpers
(defns fname & decls)
will add examples in the form of :example and :test to the metadata
will add examples in the form of :example and :test to the metadata
(defns- name & decls)
same as defn, yielding non-public def
same as defn, yielding non-public def
(make-example-form & input)
Will turn input forms into strings for documentation
Will turn input forms into strings for documentation
(make-test-form & input)
Will turn user friendly description into an assert/test form
Will turn user friendly description into an assert/test form
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close