Finn Völkel / Mar 20 2021
Clojure 1.11.0-alpha1 test
{:deps {org.clojure/clojure {:mvn/version "1.11.0-alpha1"}}}
deps.edn
Extensible Data Notation
(defn destr [& {:keys [a b] :as opts}]
[a b opts])
0.1s
Clojure
(destr 1)
0.0s
Clojure
(destr :a 1)
0.0s
Clojure
(destr :a 1 :b 2)
0.0s
Clojure
(defn destr2 [x & {:keys [a b] :as opts}]
[x a b opts])
0.0s
Clojure
(destr2 :x)
0.1s
Clojure
(destr2 :x :a 1)
0.0s
Clojure
(destr2 :x :b 1 :a 2)
0.0s
Clojure