Clojure 1.13 Alpha Introduces Checked Keys for Safer Map Destructuring
Clojure 1.13 adds support for checked keys
I am excited to announce Clojure 1.13.0-alpha1, featuring new checked variants for map destructuring that throw errors if required keys are missing. This update also includes performance optimizations for PersistentArrayMaps and updated runtime dependencies to ensure a more robust development experience.
You can now ensure that required keys are bound during map destructuring by using the new checked variants of the :keys/:syms/:strs directives, which will throw if the key is not present.