return when desugaring to closures

David Herman dherman at ccs.neu.edu
Sat Oct 11 13:04:01 PDT 2008


> Sounds good to me but it is a little confusing to keep track if "let"
> is either in or out of ES-Harmony and if it is partly in then which
> of
> the several JavaScript 1.7 uses are in and if there will be "let",
> "let*", "letrec" semantics.

I've got no crystal ball, but I'd say it'd be unlikely (and terribly silly) that we'd have `lambda' without having `let'.

(The `lambda' form would fail in its requirement as an equivalence-preserving primitive if it became a target of `var'-hoisting.)

Dave


More information about the Es-discuss mailing list