chickadee » ck-macros » c-remove

(c-remove '(OP ...) L) → listsyntax

Opposite of c-filter. Discards items that pass the test, keeps items that fail the test. Analogous to remove from SRFI-1.

(ck () (c-quote (c-remove '(c-pair?)
                          '(a (b . c) 1 (d e) #t))))
;; ==> '(a 1 #t)