(let
((NAME EXPRESSION-FOR-LET) ...) EXPRESSION)
let
expression is similar to the letrec
expression, except that the scope of the bindings is different. Like letrec
, the body expression may refer to the bindings created by the let
. However, the binding expressions (those on the right-hand sides) may not refer to these bindings. To illustrate this, consider the following expressions and its result: (define a 3)