ClojureDocs

导航

命名空间

subseq

clojure.core

版本 1.0 起可使用 (来源)
  • (subseq sc test key)
  • (subseq sc start-test start-key end-test end-key)
sc must be a sorted collection, test(s) one of <, <=, > or
>=. Returns a seq of those entries with keys ek for
which (test (.. sc comparator (compare ek key)) 0) is true