Short start on destructuring.
This commit is contained in:
4
src/koans/destructuring.clj
Normal file
4
src/koans/destructuring.clj
Normal file
@@ -0,0 +1,4 @@
|
||||
(meditations
|
||||
"Destructuring allows you to break up arguments"
|
||||
(= __ ((fn [[a b]] (str b a))
|
||||
[:foo :bar])))
|
Reference in New Issue
Block a user