Clojure 1.13.0-alpha3

Clojure 1.13.0-alpha3 is now available! Find download and usage information on the Downloads page.

:select directive in map destructuring

The :select directive binds a name to a subset of the map being destructured containing only the keys mentioned (anywhere) in the binding form.

  • CLJ-2964 :select directive in map destructuring
  • CLJ-2963 Update specs for :select in destructuring

Other changes since Clojure 1.13.0-alpha2

  • RT.map, and thus reader, tracks new PAM thresholds
  • CLJ-1789 select-keys - improve performance (transients, etc)
  • CLJ-2958 ILookup on sets
  • CLJ-2902 pprint - prints arbitary objects in unreadable form
  • CLJ-2801 TaggedLiteral - doesn’t define print-dup
  • CLJ-2269 definterface - does not resolve parameter type hints
  • CLJ-2781 clojure.test/report - docstring has broken references
  • CLJ-2929 zipper - docstring typo
  • CLJ-2901 bytes, shorts, chars - docstring typos
  • CLJ-2811 scalb - docstring links to the documentation for nextDown
  • CLJ-2809 clojure.math/floor - docstring has line that should be on ceil docstring

Try it out

Update your deps.edn :deps with:

org.clojure/clojure {:mvn/version "1.13.0-alpha3"}

Start a REPL with the Clojure CLI (any version) with:

clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.13.0-alpha3"}}}
添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论