chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] catching exceptions


From: F. Wittenberger
Subject: Re: [Chicken-users] catching exceptions
Date: Tue, 29 Jul 2008 18:43:15 +0200

Am Dienstag, den 29.07.2008, 18:19 +0200 schrieb felix winkelmann:
> On Tue, Jul 29, 2008 at 3:05 PM, Jörg F. Wittenberger
> <address@hidden> wrote:
> > BTW: I just compared with SRFI-18:
> >
> > (raise obj)                                           ;procedure
> >
> >        Calls the current exception handler with obj as the single
> >        argument. obj may be any Scheme object.
> >
> > Looks to me as if chicken was not compatible with srfi-18 either.
> >
> 
> Of course it is. What makes you think it isn't?

See my last posting: it is srfi-18 compliant.

However half way of my experiments, I tried to (raise 1) and got to
catch some condition object.  So I read the source and found
##sys#current-exception-handler initially set something, which would
convert non-condition objects to condition-objects.  That's ok by
itself.  The problem is, that, other than via "with-exception-handler"
I've been/still am unable to modify the systems exception handler.  The
latter was what I was trying to do (similar to the SRFI-34 egg).




reply via email to

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