Liking cljdoc? Tell your friends :D

hydrox.analyse.test.midje


gather-factclj

(gather-fact zloc)

Make docstring notation out of fact form (-> "^{:refer example/hello-world :added "0.1"} (fact "Sample test program"\n (+ 1 1) => 2\n (long? 3) => true)" (z/of-string) z/down z/right z/down z/right (gather-fact) :docs common/join-nodes) => ""Sample test program"\n (+ 1 1) => 2\n (long? 3) => true"

Make docstring notation out of fact form
 (-> "^{:refer example/hello-world :added \"0.1\"}
      (fact \"Sample test program\"\n  (+ 1 1) => 2\n  (long? 3) => true)"
     (z/of-string)
     z/down z/right z/down z/right
     (gather-fact)
     :docs
     common/join-nodes)
=> ""Sample test program"\n  (+ 1 1) => 2\n  (long? 3) => true"
sourceraw docstring

gather-fact-bodyclj

(gather-fact-body zloc)
(gather-fact-body zloc output)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close