- (c-filter '(OP ...) L) → listsyntax
Yields a list by calling the predicate operation on each item in the list, and discarding any item for which the test yields '#f. Analogous to filter from SRFI 1.
(ck () (c-quote (c-filter '(c-pair?) '(a (b . c) 1 (d e) #t)))) ;; ==> '((b . c) (d e))