[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] Comments on draft 6 about call/cc
- To: Manuel Simoni <msimoni@x>
- Subject: Re: [Scheme-reports] Comments on draft 6 about call/cc
- From: Alex Shinn <alexshinn@x>
- Date: Thu, 1 Mar 2012 08:19:47 -0500
- Cc: scheme-reports <scheme-reports@x>
- In-reply-to: <CAK6sV0k3bGJmOPoatLO7ch3JPebu4vOfmRhJB=tWvOMi8gMWrg@mail.gmail.com>
- References: <CAMMPzYO3fZa0Apemims25dStdyGW0VPZPiYV2GL834W3ixY_dQ@mail.gmail.com> <20120227045611.56131.qmail@eeoth.pair.com> <CAMMPzYNVPV4mrFLus1nLu-rNWp7PdYmSH5g6DAJu=4zZd6VcfA@mail.gmail.com> <CAK6sV0k3bGJmOPoatLO7ch3JPebu4vOfmRhJB=tWvOMi8gMWrg@mail.gmail.com>
On Thu, Mar 1, 2012 at 8:07 AM, Manuel Simoni <msimoni@x> wrote:
> On Thu, Mar 1, 2012 at 1:37 PM, Alex Shinn <alexshinn@x> wrote:
>> As a circular example, delimited continuations can't
>> implement the call/cc form. Even if all practical uses
>> of call/cc can be replaced with delimited continuations,
>> existing code would need to be re-written.
>
> The paper "A monadic framework for delimited continuations" models
> call/cc using delimited continuations by pushing a toplevel prompt
> before the execution of the program (section 2.2)
>
> http://research.microsoft.com/en-us/um/people/simonpj/papers/control/
Yes, I mentioned earlier that you can use the
implementation of delimited continuations to
implement call/cc. The problem is it can't be
done portably.
--
Alex
_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports