guile-user
[Top][All Lists]
Advanced

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

Re: Exception API


From: Ludovic Courtès
Subject: Re: Exception API
Date: Tue, 12 Sep 2006 11:36:49 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Hi,

Kevin Ryde <address@hidden> writes:

> address@hidden (Ludovic Courtès) writes:
>>
>>        (let ((errno (car (cadddr args)))) ;; !!!
>
> system-error-errno helps there.  I made a few similar extracting funcs
> at one time ... then found it better not to try to be too smart about
> analysing errors!

That probably helps a bit (clarity-wise) but may still be insufficient
(since, as Neil noted, the error message itself conveys additional
information and needs to be somehow "analyzed" in order to get a full
understanding of what went wrong).

>>   (guard (c ((i/o-no-such-file-error? c)
>
> I had trouble understanding the different dynamic environments
> specified for that srfi-34 guard.

Just to make it clear: I was only trying to illustrate the clarity
offered by SRFI-3[56], not arguing about SRFI-34.

Thanks,
Ludovic.





reply via email to

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