Play audio slide show -- Keyboard shortcut: 'x'  Lecture overview -- Keyboard shortcut: 'u'  Previous page: Mapping -- Keyboard shortcut: 'p'  Next page: Examples of mapping -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home      Higher-order Functions - slide 9 : 34

The mapping function
A possible implementation of map, called mymap:
(define (mymap f lst)
  (if (null? lst)
      '()
      (cons (f (car lst))
            (mymap f (cdr lst)))))
Go to exercise
Iterative mapping function
Go to exercise
Table exercise: transposing, row elimination, and column elimination.