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))
)))
Iterative mapping function
Table exercise: transposing, row elimination, and column elimination.