chickadee » srfi-132 » list-delete-neighbor-dups!

list-delete-neighbor-dups! = lisprocedure

This procedure mutates its input list in order to construct its result. It makes only a single, iterative, linear-time pass over its argument, using set-cdr!s to rearrange the cells of the list into the final result--it works "in place." Hence, any cons cell appearing in the result must have originally appeared in the input.