Meme printer: Clojure forms → Doc trees. Builds Wadler-Lindig Doc trees from Clojure forms, handling meme syntax (call notation, sugar, metadata, comments) and Clojure output mode. Delegates to render for Doc algebra and layout.
Meme printer: Clojure forms → Doc trees. Builds Wadler-Lindig Doc trees from Clojure forms, handling meme syntax (call notation, sugar, metadata, comments) and Clojure output mode. Delegates to render for Doc algebra and layout.
(extract-comments ws)Extract comment lines from a :ws metadata string. Returns a vector of trimmed comment strings, or nil.
Extract comment lines from a :ws metadata string. Returns a vector of trimmed comment strings, or nil.
(to-doc form)(to-doc form mode)Convert a Clojure form to a Doc tree, with comment attachment. Comments from :ws metadata are emitted only in break context (via DocIfBreak). mode is :meme (default) or :clj.
Convert a Clojure form to a Doc tree, with comment attachment. Comments from :ws metadata are emitted only in break context (via DocIfBreak). mode is :meme (default) or :clj.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |