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