Standard presentation lexes. Each lex is its own var for à-la-carte use; default-presentations bundles them as a {name → lex} map that c3kit.apron.schema merges into the default lexicon at its load. This namespace is pure data — it does not require c3kit.apron.schema.
A presentation lex has the shape {:present fn} — no :message, since presentations don't fail in the lex-error sense; they just transform. If a present-fn throws, that's a bug at the call site; exceptions propagate rather than being captured as field errors.
Standard presentation lexes. Each lex is its own var for à-la-carte
use; default-presentations bundles them as a {name → lex} map that
c3kit.apron.schema merges into the default lexicon at its load.
This namespace is pure data — it does not require c3kit.apron.schema.
A presentation lex has the shape {:present fn} — no :message, since
presentations don't fail in the lex-error sense; they just transform.
If a present-fn throws, that's a bug at the call site; exceptions
propagate rather than being captured as field errors.(default v)Returns a presentation lex that substitutes v whenever the value is nil.
E.g. (default "—") shows an em-dash for missing values.
Returns a presentation lex that substitutes `v` whenever the value is nil. E.g. (default "—") shows an em-dash for missing values.
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 |