Lambda

(lambda list expression ...) -> varies

Lambda is an anonymous <closure>. It is not evaluated at compile, but at the time it is run.

Examples:

>>((lambda (x) (* x x)) 4)
:: 16
>>(define square (lambda (x) (* x x)))
:: #f
>>(square 4)
:: 16
>>(define decimal-divide (lambda (x y) (string-append
   (number->string (/ x y)) "." (number->string
            (/ (* (remainder x y) 100) y)))))
:: #f
>>(decimal-divide 26 8)
:: "3.25"