append!

Name

append! -- Append some lists using side-effects.

Type: function

Synopsis

append!( l, b);

Arguments

l

An instance of <list>

Return Values

b

An instance of <list>

Description

Like append, but side effects the tails of all but the last list in order to concatenate them. Note however that append! must still traverse each pair in the lists except the last, so this function still costs time proportional to the length of the lists (except the last), though the space cost is zero.