Date: 2026-06-16
Compound boundary types (slices, pointers, arrays, optionals) need a representation.
Represent compound boundary types as vectors, such as
[:slice :const :u8].
Vector forms are plain data: easy to compose, validate, and build with Clojure-side helpers and macros.
Opaque type objects or constructor calls were considered; they block composition and make the public contract harder to read and manipulate (see ADR 15).
Can you improve this documentation?Edit on GitHub
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 |