Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
(let [example (fn [a & {:keys [b c]}] [a b c])]
[(example 1)
(example 1 :b 42)
(example 1 :b 42 :c 108)])
;=> [[1 nil nil] [1 42 nil] [1 42 108]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.