take

函数

(take n coll)

(take n coll) — the first n elements of coll, in a NEW collection

of coll's own kind: vector in → vector out, list in → list out,

nil in → nil. This kind rule holds for take, drop and filter

alike. n beyond the length stops at the length.