| The correspondence
principle is a big change for the body, so even if we could reserve
block or abuse do, making the special form look like function (params) {
body } is a mistake. 'return' does not return from the block, it
returns from the enclosing function. I'm not in love with Ruby syntax but {(a, b) a + b} isn't as distinctive and clearly a lambda-like thing. You're right about that, but turning back to function-based syntax with a different introductory keyword goes the wrong direction. This is why I keep coming back to "different syntax is a virtue". The correspondence-principle-based semantics are different enough. /be
|
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss


