ClojureDocs

导航

命名空间

flatten

clojure.core

从 1.2 版开始可以使用 (源代码)
  • (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.