Lecture overview -- Keyboard shortcut: 'u'  Previous page: Examples of mapping -- Keyboard shortcut: 'p'  Next page: The filtering function -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Alphabetic index  Help page about these notes  Course home    Recursion and Higher-order Functions - slide 23 : 35


A filtering function applies a predicate (boolean function) f on every element of a list.

Only elements on which the predicate returns true are returned from the filtering function.


The function filter is not an essential Scheme function