University of Washington • CSE583 • D. Notkin
©
2000
52
Another curry example
l
(define (reducec fn base)
(lambda (x) ...))
l
(define sum (reducec + 0))
l
(define prod (reducec * 0))
l
As an aside, one can write a function that curries other
functions
l