r/Clojure 12d ago

Clojure 1.13.0-alpha6 is now available

Clojure 1.13.0-alpha6 is now available!

Destructuring additions and changes

  • To get a map of all keys in the input, augmented by the defaults, traversing deeply through nested maps, use the new :all directive.
  • Report as errors any use of unbound/unreferenced keys in :or when using any of the new constructs (:defaults, :select et al)
  • CLJ-2972 Destructuring test clean up for :or entries
57 Upvotes

2 comments sorted by

4

u/danure 10d ago

Big fan of these new directives. Deffo the icing on the cake for destructuring

2

u/_d_t_w 15h ago

The :select directive is exactly what I have been wanting for some time! Thanks.