ClojureDocs

Nav

Namespaces

flatten

clojure.core

Available since 1.2 (source)
  • (flatten x)
Takes any nested combination of sequential things (lists, vectors,
etc.) and returns their contents as a single, flat lazy sequence.
(flatten nil) returns an empty sequence.