λ

1.1: Let expressions

Standard ML defines a ‘let’ expression, wherein one may make scoped declarations.

Outside of these expressions, their definitions become unbound.

The result of evaluating a let expression, for example letexpr here, is the last expression contained in in ... end.

(* examples/let-expr.sml *)