ClojureDocs

导航

命名空间

keep

clojure.core

自 1.2 开始可用 ()
  • (keep f)
  • (keep f coll)
Returns a lazy sequence of the non-nil results of (f item). Note,
this means false return values will be included.  f must be free of
side-effects.  Returns a transducer when no collection is provided.