Lecture overview -- Keyboard shortcut: 'u'  Previous page: The filtering function -- Keyboard shortcut: 'p'  Next page: Reduction and Zipping [Section] -- 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 25 : 35

Examples of filtering
Expression

Value

(filter 
  even?
 '(1 2 3 4 5))
(2 4)
(filter 
  (negate even?)
  '(1 2 3 4 5))
(1 3 5)