[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] Comments on draft 6 about call/cc



-----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