1

In Common Lisp there is a famous built-in function called remove-if-not.

I could not find this on Racket`s documentation.

Did I miss something? Does Racket offer this function with a different name?

1 Answers1

2

This function is available in Racket under the much more standard name, filter. Its inverse, the equivalent of CL’s remove-if, is available as filter-not.

Alexis King
  • 43,109
  • 15
  • 131
  • 205