Date: 2026-06-16
The signature vector needs a rule for where the return marker sits and whether it is optional.
Require :ret in the proof of concept and allow nothing after it.
Native boundaries always carry an explicit return contract, and a final marker keeps parsing simple and signatures readable.
An optional or inferred return type was considered; inference across a native boundary is unreliable, and optionality removes the explicit contract the boundary needs.
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 |