(rontolisp) docs
← Functions

substitute-if-not

(substitute-if-not new predicate sequence &key key)

The complement of substitute-if: returns a new sequence in which every element the predicate rejects is replaced by new. Takes the same optional :key selector, keeps the sequence kind, and does not modify the original; the destructive version is nsubstitute-if-not.