file: 10-C-lists.muf package: muf status: alpha
The remove
function scans list
and
constructs a new list identical to the original
except for containing no references to val
.
The original list
is never modified.
The return value may share cells with the original list, and may be identical to the original list if no deletions were needed. (The current implementation does not do this, but future implementations might.)
See section delete.
Stack: [ 'a' 'b' 'c' ]l --> list Stack: 'b' list remove Stack: list first list second Stack: 'a' 'c'
Go to the first, previous, next, last section, table of contents.