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.
(join-with-trailing-comments format-fn forms)Join formatted form strings with blank lines. Appends trailing comments from :trailing-ws metadata on the forms sequence.
Join formatted form strings with blank lines. Appends trailing comments from :trailing-ws metadata on the forms sequence.
(to-doc form)(to-doc form mode)Convert a Clojure form to a Doc tree, with comment attachment. Comments are always emitted — the hardline in comment-doc forces the enclosing group to break, so comments are never silently dropped. mode is :meme (default) or :clj.
Convert a Clojure form to a Doc tree, with comment attachment. Comments are always emitted — the hardline in comment-doc forces the enclosing group to break, so comments are never silently dropped. mode is :meme (default) or :clj.
(validate-format-input forms)Guard format-forms input: reject nil, strings, maps, and sets.
Guard format-forms input: reject nil, strings, maps, and sets.
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 |