- (c-filter '(OP ...) L) → listsyntax
Yields a list by calling the quoted operation on each item in the given 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))