Date: 2026-06-16
Clojure callers may want to pass map-shaped values, while Zig needs native scalars.
Clojure destructuring may be used in signatures, but it lowers values to native arguments before crossing the boundary.
Callers keep Clojure ergonomics (map-shaped inputs) without forcing Zig to understand arbitrary Clojure data; the field-map is a Clojure-side input shape, not a Zig boundary type (docs/03).
Passing whole maps into Zig was considered; it would push arbitrary Clojure data across the seam, the marshalling the design avoids (ADR 17).
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 |