Jeremy Martin wrote:
Regardless of whatever solutions may or may not be appropriate, I at
a minimum echo Claus' sentiment - it seems like there's a nice
opportunity here to improve the modeling of control structures.
You're right, but the problem Mark cites is a big one and it stops any
general call/cc or coroutine extension from going into JS.
I'd just add that call/cc in Scheme is a power tool, and (I'm told)
you're supposed to use macros built on it, usually. The macros for
delimited continuations address a sweet spot for control abstractions,
and Dave Herman did give them careful consideration. Dave alludes to
that work here:
https://mail.mozilla.org/pipermail/es-discuss/2010-December/012284.html
viz, "I pretty much abandoned that line of investigation with the
conclusion that generators: ...", which I believe refers to
http://wiki.ecmascript.org/doku.php?id=strawman:shallow_continuations
which is deferred and pretty much defunct due to generators.
/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss