Liking cljdoc? Tell your friends :D

meme-lang.formatter.canon

Canonical formatter: width-aware meme output. Composes printer (form → Doc) with render (layout @ target width). Used by meme format CLI command.

Owns the canonical style — layout policy for how calls are structured. Uses meme-lang.form-shape/registry as the default form-shape vocabulary; callers can override via the :form-shape opts key.

Canonical formatter: width-aware meme output.
Composes printer (form → Doc) with render (layout @ target width).
Used by `meme format` CLI command.

Owns the canonical style — layout policy for how calls are structured.
Uses `meme-lang.form-shape/registry` as the default form-shape vocabulary;
callers can override via the `:form-shape` opts key.
raw docstring

meme-lang.formatter.flat

Flat formatter: single-line meme output — true pass-through. Composes printer (form → Doc) with render (layout @ infinite width). No style opinions: no definition-form spacing, no head-line splitting.

Form-shape decomposition still runs so semantic slots like :bindings and :clause render correctly (binding vectors, case/cond pairs); flat layout at infinite width produces the same result regardless.

Flat formatter: single-line meme output — true pass-through.
Composes printer (form → Doc) with render (layout @ infinite width).
No style opinions: no definition-form spacing, no head-line splitting.

Form-shape decomposition still runs so semantic slots like :bindings
and :clause render correctly (binding vectors, case/cond pairs); flat
layout at infinite width produces the same result regardless.
raw 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