[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The fundamental concept of continuations
From: |
George Neuner |
Subject: |
Re: The fundamental concept of continuations |
Date: |
Mon, 15 Oct 2007 00:17:40 -0400 |
On Mon, 15 Oct 2007 11:56:39 +1300, Lawrence D'Oliveiro
<ldo@geek-central.gen.new_zealand> wrote:
>In message <see-36543E.18592809102007@lust.ihug.co.nz>, Barb Knox wrote:
>
>> Instead of function A returning to its caller, the
>> caller provides an additional argument (the "continuation") which is a
>> function B to be called by A with A's result(s).
>
>That's just a callback. I've been doing that in C code (and other
>similar-level languages) for years.
Callbacks are a form of continuation. However, general continuations
such as those in Scheme, carry with them their execution context.
This allows them to used directly for things like user-space
threading.
George
--
for email reply remove "/" from address
- The fundamental concept of continuations, gnuist006, 2007/10/09
- Re: The fundamental concept of continuations, Barb Knox, 2007/10/09
- Re: The fundamental concept of continuations, Bakul Shah, 2007/10/09
- Re: The fundamental concept of continuations, ., 2007/10/09
- Re: The fundamental concept of continuations, gnuist006, 2007/10/09
- Re: The fundamental concept of continuations, Matthias Blume, 2007/10/10