Just replied to Isaac on this. We run into the completion-value leak
objection and I do not see a way around it.
/be
David Herman wrote:
On Mar 6, 2012, at 12:37 PM, Brendan Eich wrote:
Isaac Schlueter wrote:
Certainly, this is quite nice:
myList.forEach((item) { .. })
Less nice for map because of the hated six-letter keyword, but yeah.
What if the anonymous form didn't require `return`, i.e., used the
body's completion value?
myList.map((x) { x + 1 })
(Whether the body is TCP-respecting or not is an orthogonal question.)
Dave
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss