Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Scheme and exceptions

Name: Anonymous 2011-05-30 10:29

R7RS will have EXCEPTIONS. Does it mean Scheme is ready for enterprise now?

Name: Anonymous 2011-06-28 21:01

>>94
is a very very basic use of call/cc.
call/cc, in absence of mutable/dynamic state, can't express exceptions. Delimited continuations can easily express both restartable and non-restartable exceptions, even in absence of state. You don't understand exceptions, continuations and how they relate, call/cc is not synonym of ``continuations''.

The important part of exceptions are not only the non-local exits, but being able to raise a value and handle it elsewhere with a dynamically bound exception handler. R7RS will have restartable exceptions.

Even if they were a ``very very basic use of call/cc'', in many systems capturing the continuation is slow, while implementing exceptions may be done much more efficiently.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List