#328
Sequential destructuring 1
| Difficulty: | Easy |
| Topics: | destructuring |
de-structuring these data into chunk or pieces helps you find or use the data you need. Read on Destructuring
![]() | (= [7 '(3 2 1 0)]
(let [my-coll '(0 1 2 3 4 5 6 7 8 9)
[a b c d e f & g] (reverse my-coll)]
__)) |
![]() |
(= [7 '(3 2 1 0)]
((fn [[a b c d e f & g :as mycoll]]
__)
(reverse '(0 1 2 3 4 5 6 7 8 9)))) |

