(rontolisp) docs
← Seqs

split-at

(split-at n coll)

Answers [(take n coll) (drop n coll)]: the two halves of coll's seq at n, each lazy over a lazy coll. An empty half of a strict collection is nil, where the oracle prints (). As a value a two-argument function.