chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] catching compiling exceptions in setup-api


From: Felix
Subject: Re: [Chicken-hackers] catching compiling exceptions in setup-api
Date: Tue, 10 Aug 2010 03:15:35 -0400 (EDT)

From: Jim Ursetto <address@hidden>
Subject: [Chicken-hackers] catching compiling exceptions in setup-api
Date: Tue, 10 Aug 2010 01:16:30 -0500

> I want to compile a short test program as part of my egg.setup.  It
> should normally compile without error, but if it does not, I want to
> catch this error and do something.  However, (compile) calls (quit) on
> error, which just calls (reset). I don't pretend to understand why,
> but I would like to know how to catch the error.

You can override the ##sys#reset-handler (for example using
`parameterize'), which is just a thunk and by default invokes
`exit'.


cheers,
felix



reply via email to

[Prev in Thread] Current Thread [Next in Thread]