[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] Comments on draft 6 about call/cc
- To: scheme-reports@x
- Subject: Re: [Scheme-reports] Comments on draft 6 about call/cc
- From: Alaric Snell-Pym <alaric@x>
- Date: Thu, 01 Mar 2012 16:37:05 +0000
- In-reply-to: <CAMMPzYPtDT4Ah_-rOsJR=orN89wHoTv8GYPjopafpQO474NLSg@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> <CAMMPzYPtDT4Ah_-rOsJR=orN89wHoTv8GYPjopafpQO474NLSg@mail.gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/01/2012 01:19 PM, Alex Shinn wrote:
>
> 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.
>
It would be a trivial matter to standardise the creation of and access
to a top-level prompt, though, so that call/cc could be implemented
portably. The main arguing point, I suspect, being where that prompt
should be placed in relation to a REPL :-) Perhaps each top-level
expression evaluated would get its own top-level prompt, to avoid issues...
ABS
- --
Alaric Snell-Pym
http://www.snell-pym.org.uk/alaric/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk9PpbEACgkQRgz/WHNxCGpnxgCfZN6pdlLZatcLn7wsz8ly4KBY
gjwAmweZfqNPd4n8NsvOCUlnxVmhB5vp
=VkgF
-----END PGP SIGNATURE-----
_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports