- remove pred listprocedure
Returns LIST without the elements that satisfy predicate PRED:
(lambda (pred list) (filter (lambda (x) (not (pred x))) list))
The list is not disordered -- elements that appear in the result list occur in the same order as they occur in the argument list. The returned list may share a common tail with the argument list. The dynamic order in which the various applications of PRED are made is not specified.
(remove even? '(0 7 8 8 43 -4)) => (7 43)