An example in
Scheme:
Given the function:
(define addsalestax
(lambda (taxrate)
(lambda (x)
(+ x (* x (/ taxrate 100.0))))))
you can use currying to define the following:
(define ny (addsalestax 8))
(define oh (addsalestax 5.5))
and use them like this:
>(ny 10.00)
10.8