chickadee » data-structures » merge

merge LIST1 LIST2 LESS?procedure
merge! LIST1 LIST2 LESS?procedure

Joins two lists in sorted order. merge! is the destructive version of merge. LESS? should be a procedure of two arguments, that returns true if the first argument is to be ordered before the second argument.