(rontolisp) docs
← Seqs

take

(take n coll) / (take n)

Answers the first n elements of coll: over a lazy coll a lazy seq realizing one element per element read, so (take n infinite) terminates and an element never read is never realized; over a strict coll the strict list.

Deviation: over a strict collection an empty take answers nil, where the oracle prints ().

(take n) is its transducer, as a value too.