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


nsublis

Function: nsublis { alist list -> list }
file: 10-C-lists.muf
package: muf
status: alpha

The nsublis function destructively modifies the given list by replacing all leafs which are keys in the association list alist by their corresponding values in alist. See section assoc.

(As usual the n-for-nuke prefix signals a destructive list operation.)

Stack:
[ [ 'your 'car ]l [ 'your 'spouse ]l ]l --> list
Stack:
[  'your 'my cons   'car 'bicycle cons   ]l --> alist
Stack:
alist list nsublis printList
Stack: "[ [ 'my 'bicycle ]l [ 'my 'spouse ]l ]l"

See section sublis.


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