creates a lambda
(lambda (param*) form*) (lambda-rec name (param*) form*)
Will create a lambda function that may be passed around in a first-class manner.
(define double (let [mul 2] (lambda (x) (* x mul)))) (to-vector (map double '(1 2 3 4 5 6)))
This example will return the vector [2 4 6 8 10 12].
Lambdas produce a closure that copies the bindings that have been referenced from the surrounding scope.