Go to the first, previous, next, last section, table of contents.


nsubst

Function: nsubst { new old list -> list }
file: 10-C-lists.muf
package: muf
status: alpha

The nsubst function destructively modifies the given list by everywhere replacing old by new. (As usual the n-for-nuke in the name signals a destructive list operation.)

Stack:
[ [ 'your 'car ]l [ 'your 'spouse ]l ]l --> list
Stack:
'my 'your list nsubst printList
Stack: "[ [ 'my 'car ]l [ 'my 'spouse ]l ]l"

See section subst.


Go to the first, previous, next, last section, table of contents.