std-remove-if


Synopsis

(std-remove-if <pred> <lst>)

Description

STD-REMOVE-IF returns a list without all elements that satisfy the predicate. It is not destructive, it always returns a copy.

Example

(std-remove-if 'numberp '(0 1 2)) 	=> nil

Arguments

pred: a function or lambda list accepting one argument and returning either nil or non-nil.

lst: any proper list.

Return Value

A list.

Side Effects

None.

Module

(std-require 'STDLIST)

Defined in STDLIST