chickadee » list-utils » shift!

shift! LIST #!optional DEFAULTprocedure

Returns the first element of LIST, or DEFAULT when LIST is null.

The car and cdr of the first pair of LIST are set to the corresponding element of the second pair.

Like a stack-pop.