From: Jim Ursetto <[email protected]>
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

_______________________________________________
Chicken-hackers mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to