DESTRUCTIVE LIST FUNCTIONS


Destructive functions that have non-desctructive equivalents are listed in other sections. See also sort, map-into, nreverse, delete, delete-if, delete-if-not, fill, and replace under SEQUENCE FUNCTIONS, setf under SYMBOL FUNCTIONS, and mapcan, mapcon, nsubst, nsublis, nintersection, nunion, nset-difference, and nset-exclusive-or under LIST FUNCTIONS.


REPLACE THE CAR OF A LIST NODE

(rplaca <list> <expr>)


REPLACE THE CDR OF A LIST NODE

(rplacd <list> <expr>)


DESTRUCTIVELY CONCATENATE LISTS

(nconc <list>...)


SUBSTITUTE EXPRESSIONS

(
nsubst-if <to> <test> <expr> &key :key)

(nsubst-if-not <to> <test> <expr> &key :key)


XLISP-PLUS - Version 2.1g - Tom Almy tom.almy@tek.com - 18 JUL 94
Generated with
WebMaker