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


subst

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

The subst function returns a copy of the given list in which old is everywhere replaced by new:

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

See section nsubst.


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