subst
(subst newItem oldItem list)
This function replaces all occurrences
of oldItem in input list
with newItem, and returns the
modified list.
|
Arguments |
newItem any Lisp atom or list |
|
Return |
the list with all replaced items (or the original list, if oldItem is not present) |
|
Example |
(setq lst (list 0 1 2 3 -99 5
6 -99)) |
|
Remarks |
|
| © Bricsys NV. All rights reserved. |