Re: Exception API

2006-09-12 Thread Ludovic Courtès
Hi, Kevin Ryde <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] (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 > anal

Re: Exception API

2006-09-07 Thread Neil Jerram
Kevin Ryde <[EMAIL PROTECTED]> writes: > I had trouble understanding the different dynamic environments > specified for that srfi-34 guard. It looked worryingly like there > could be jumps out of the originating continuation and then back in if > there's a re-throw, which could be pretty slow wit

Re: Exception API

2006-09-04 Thread Kevin Ryde
[EMAIL PROTECTED] (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! > (guard (c ((i/o-no-such-file-error? c

Exception API

2006-09-04 Thread Ludovic Courtès
mprove the quality of the code. I believe the principle behind this is that exceptions should not be a second-class API. Thus, an exception API should be designed to be actually used. ;-) The current exception mechanism _is_ useful and it conveys important information about the exceptions (doc