rplaca (cons, s_exp) rplacd (cons, s_exp)
These functions destructively alter the form of a list. rplaca modifies the car of a list, effectively replacing the first element. rplacd modifies the cdr of a list, replacing the entire tail of the list. These functions have no meaning for non-lists. To entirely remove the tail of a list, replace the cdr of the list with nil.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.