| Clojure 1.13 adds support for checked keys(clojure.org) | |
| 216 points by FelipeCortez 4 days ago | 46 comments | |
tl;dr: Clojure 1.13.0-alpha1 introduces "checked keys" for map destructuring via new `:keys!`/`:syms!`/`:strs!` directives that throw if a required key is missing, plus support for listing unbound keys after `&` for documentation purposes. The release also bumps the PersistentArrayMap threshold from 8 to 64 for keyword-only maps (improving lookup performance), removes ACC_FINAL from static initializer constants to prepare for future JVM bytecode changes, and updates dependencies. | |
HN Discussion:
| |