You must log in or # to comment.
I didn’t know that I can do this in 1.10.
(defn f [& {:keys [a b]}] (println "A" a " B" b))
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 :)