On Fri, Mar 14, 2014 at 10:04:56PM +0100, Peter Bex wrote:
> On Fri, Mar 14, 2014 at 03:01:31PM -0600, Erik Falor wrote:
> > I suppose this is because (require ...) happens at runtime and
> > whatever (import ...) does happens when the syntax is expanded.
> > 
> > Is there a clean way to achieve the effect of reporting a missing egg
> > with an error message (and leaving my interpreter otherwise usable)?
> 
> Have you tried EVALing it, and wrapping the eval in an exception handler?

No, I hadn't tried that.  But it worked beautifully!

Thanks for saving my afternoon!

-- 
Erik Falor
Registered Linux User #445632                  http://linuxcounter.net

Attachment: pgpQZok3SXEKQ.pgp
Description: PGP signature

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

Reply via email to