| function | since v0.0-927 | Edit |
(mapcat f)(mapcat f & colls)Returns the result of applying concat to the result of applying map to f
and colls.
Function f should return a collection.
Returns a transducer when no collections are provided.
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
(defn mapcat
{:added "1.0"
:static true}
([f] (comp (map f) cat))
([f & colls]
(apply concat (apply map f colls))))