#93
Partially Flatten a Sequence
 

Difficulty:Medium
Topics:seqs


Write a function which flattens any nested combination of sequential things (lists, vectors, etc.), but maintains the lowest level sequential items. The result should be a sequence of sequences with only one level of nesting.
test not run
(= (__ [["Do"] ["Nothing"]])
   [["Do"] ["Nothing"]])
test not run
(= (__ [[[[:a :b]]] [[:c :d]] [:e :f]])
   [[:a :b] [:c :d] [:e :f]])
test not run
(= (__ '((1 2)((3 4)((((5 6)))))))
   '((1 2)(3 4)(5 6)))


Code which fills in the blank: