mapcat
function
(mapcat func &rest seqs)
(mapcat func)
Applies func to seqs as in map and concatenates the return values
which must be sequences.
Returns a transducer if no seqs are supplied.
make-html > (map #(list %1 %1) (series 5))
it: ((1 1) (2 2) (3 3) (4 4) (5 5))
make-html > (mapcat #(list %1 %1) (series 5))
it: (1 1 2 2 3 3 4 4 5 5)
make-html > (as-list (eduction (map #(list %1 %1)) (series 5)))
it: ((1 1) (2 2) (3 3) (4 4) (5 5))