Lecture overview -- Keyboard shortcut: 'u'  Previous page: Linear search in lists -- Keyboard shortcut: 'p'  Next page: Apply -- 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 16 : 35

Generation of list selectors
It is attractive to generate generalizations of the list selector functions car, cadr, etc
(define (make-selector-function n)
  (lambda (lst) (list-ref lst (- n 1))))
The existing LAML make-selector-function.
Example usages of the function make-selector-function.