On Mon, Oct 13, 2008 at 12:47 PM, Mark Miller <[EMAIL PROTECTED]> wrote: > On Mon, Oct 13, 2008 at 9:13 AM, Jon Zeppieri <[EMAIL PROTECTED]> wrote: >> But then it becomes extremely awkward for the 'let' or 'const' case to >> use a fresh variable on every iteration. It ties the semantics of >> 'for' to its initialization clause in a very strange way. > > I think it falls out of the natural desugaring of for to lambda with no > special cases. The "var" itself causes its own hoisting and joining. >
Sorry -- I must be particularly dense today. What desugaring do you have in mind? -Jon _______________________________________________ Es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

