Liking cljdoc? Tell your friends :D

meme-lang.printer

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.
raw docstring

join-with-trailing-commentsclj/s

(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.
sourceraw docstring

to-docclj/s

(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.
sourceraw docstring

validate-format-inputclj/s

(validate-format-input forms)

Guard format-forms input: reject nil, strings, maps, and sets.

Guard format-forms input: reject nil, strings, maps, and sets.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close