Unblocking sleep semantics

Dean Landolt dean at deanlandolt.com
Tue Jan 17 13:00:04 PST 2012


On Tue, Jan 17, 2012 at 3:54 PM, Jussi Kalliokoski <
jussi.kalliokoski at gmail.com> wrote:

> Yeah, I was aware of the coroutines in generators, that's why I said it
> would be sort of sugar. :)
>


But it's not sugar, it's a different feature. It's the difference between
shallow and deep continuations. We already have shallow continuations (by
way of generators). Deep continuations are potentially hazardous. I for one
would love some sugar for the shallow continuations use-case of generators
but libraries will do just fine.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120117/256dd708/attachment.html>


More information about the es-discuss mailing list