[comp.lang.scheme] continuation based error handling

raible@orville.nas.nasa.gov (Eric Raible) (12/12/89)

It seems to me that it ought to be possible to implement a somewhat
portable error handling facility using call/cc.

I'd appreciate comments and/or code.

chewy@apple.com (Paul Snively) (12/14/89)

In article <4169@amelia.nas.nasa.gov> raible@orville.nas.nasa.gov (Eric 
Raible) writes:
> It seems to me that it ought to be possible to implement a somewhat
> portable error handling facility using call/cc.
> 
> I'd appreciate comments and/or code.

Well, Common Lisp's CATCH and THROW are certainly trivial when you have 
full upward continuations; I think Dybvig's book gives examples.

__________________________________________________________________________
Just because I work for Apple Computer, Inc. doesn't mean that they 
believe what I believe or vice-versa.
__________________________________________________________________________
C++ -- The language in which only friends can access your private members.
__________________________________________________________________________