[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: continuations (was Re: error() or nil, 'error msg')
- From: Coda Highland <chighland@...>
- Date: Wed, 24 Sep 2014 14:15:17 -0700
On Wed, Sep 24, 2014 at 2:07 PM, Javier Guerra Giraldez
<javier@guerrag.com> wrote:
> On Wed, Sep 24, 2014 at 3:58 PM, Coda Highland <chighland@gmail.com> wrote:
>> The "yield" statement in a coroutine creates a
>> continuation
>
> it's a specific case of continuation, i think it's referred to as
> "single shot continuations" in some old paper (by some Roberto guy...)
Yes, yield is a specific case, just as exceptions are a specific case
and setjmp/longjmp is a specific case. We'd have to go to something
like Scheme to get generalized continuations.
/s/ Adam
- References:
- error() or nil, 'error msg', Andrew Starks
- Re: error() or nil, 'error msg', Tom N Harris
- Re: error() or nil, 'error msg', Sean Conner
- continuations (was Re: error() or nil, 'error msg'), Tom N Harris
- Re: continuations (was Re: error() or nil, 'error msg'), Sean Conner
- Re: continuations (was Re: error() or nil, 'error msg'), Coda Highland
- Re: continuations (was Re: error() or nil, 'error msg'), Javier Guerra Giraldez