☆ Yσɠƚԋσʂ ☆M to Clojure programming language discussion • 2 years agoClojure - Clojure 1.11.0 releaseclojure.orgmessage-square4arrow-up12arrow-down10
arrow-up12arrow-down1external-linkClojure - Clojure 1.11.0 releaseclojure.org☆ Yσɠƚԋσʂ ☆M to Clojure programming language discussion • 2 years agomessage-square4
minus-square☆ Yσɠƚԋσʂ ☆OPMlink2•2 years agooh yeah this kind destructuring was a available for a while, although it’s generally better to just pass a map I find.
minus-square@vi21link2•2 years agoI always defined a function like below and passed a map. (defn f [{:keys [a b]}] (println a b)) So now I have choices.
oh yeah this kind destructuring was a available for a while, although it’s generally better to just pass a map I find.
I always defined a function like below and passed a map.
(defn f [{:keys [a b]}] (println a b))
So now I have choices.
yup :)