ClojureDocs

导航

命名空间

按组分类

clojure.core

1.2 起可用 (来源)
  • (group-by f coll)
Returns a map of the elements of coll keyed by the result of
f on each element. The value at each key will be a vector of the
corresponding elements, in the order they appeared in coll.