clojure-koans/src/koans/destructuring.clj

5 lines
122 B
Clojure
Raw Normal View History

2010-11-06 22:38:31 +00:00
(meditations
"Destructuring allows you to break up arguments"
(= __ ((fn [[a b]] (str b a))
[:foo :bar])))