[m-dev.] cc_multi or det ?

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Aug 8 15:54:13 AEST 2001


On 08-Aug-2001, Peter Schachte <schachte at cs.mu.OZ.AU> wrote:
> > The other problem is that retrofitting error recovery code can be a
> > major pain, particularly if there's some state you want to preserve
> > from the point at which the error occurred.
> 
> Can't you just pass that state back in the exception term?

In general, no; the state might be passed down to the point where the exception
is thrown.  For example, the exception might be thrown from int:'+'.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list