file: 10-C-lists.muf package: muf status: alpha
The nsubstIfNot
function destructively
modifies the given list by replacing all elements
not satisfying fn
by new
. (As usual
the n-for-nuke in the name signals a destructive
list operation.)
Stack: [ [ 'a' 'B' 'c' ]l [ 'D' 'e' 'f' ]l ]l --> list Stack: '_' :: upperCase? ; list nsubstIfNot printList Stack: "[ [ '_' 'B' '_' ]l [ 'D' '_' '_' ]l ]l"
Go to the first, previous, next, last section, table of contents.