Higher-order Functions - slide 25 : 34 |
Expression | Value |
(define gmap (curry-generalized map)) (define li-mapper (gmap li)) (li-mapper (list "one" "two" "three")) | ("<li>one</li>" "<li>two</li>" "<li>three</li>") |
(gmap li (list "one" "two" "three")) | ("<li>one</li>" "<li>two</li>" "<li>three</li>") |