#28
Flatten a Sequence
Difficulty: | Easy |
Topics: | seqs core-functions |
Write a function which flattens a sequence.
(= (__ '((1 2) 3 [4 [5 6]])) '(1 2 3 4 5 6)) | |
(= (__ ["a" ["b"] "c"]) '("a" "b" "c")) | |
(= (__ '((((:a))))) '(:a)) |
Special Restrictions
flatten