(rontolisp) docs
← Seqs

interpose

(interpose sep coll) / (interpose sep)

Answers the members of coll's seq view with sep between every two. A one-member collection never shows the separator. A lazy input answers a lazy seq, a strict one a strict list. As a value a two-argument lambda.

(interpose sep) is its transducer, as a value too.