(mapcat f)
(mapcat f & colls)
Returns the result of applying concat to the result of applying map
to f and colls. Thus function f should return a collection. Returns
a transducer when no collections are provided
Source
(defn
mapcat
"Returns the result of applying concat to the result of applying map\n to f and colls. Thus function f should return a collection. Returns\n a transducer when no collections are provided"
{:added "1.0", :static true}
([f] (comp (map f) cat))
([f & colls] (apply concat (apply map f colls))))