file: 10-C-lists.muf package: muf status: alpha
The substIfNot
function returns a copy of the given
list in which all elements not satisfying fn
are
replaced by new
:
Stack: [ [ 'a' 'B' 'c' ]l [ 'D' 'e' 'f' ]l ]l --> list Stack: '_' :: upperCase? ; list substIfNot printList Stack: "[ [ '_' 'B' '_' ]l [ 'D' '_' '_' ]l ]l"
See section nsubstIfNot.
Go to the first, previous, next, last section, table of contents.