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

Re: continuation based error handling



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