(rontolisp) docs
← Seqs

dedupe

(dedupe coll) / (dedupe)

Answers coll's seq without consecutive duplicates under = (so 1 and 1.0 stay apart, and vectors and maps compare structurally). A lazy input answers a lazy seq, a strict one a strict list. (dedupe) is its transducer. As a value zero or one argument.