reverse!

Name

reverse! -- Reverses a list using side effects.

Type: function

Synopsis

reverse!( l, r);

Arguments

l

An instance of <list>

Return Values

r

An instance of <list>

Description

Accomplishes something list reverse, but does so by side-effecting l. Returns the new head of the list, which was its tail. Signals an error if l is not a proper list.