Il y a environ 24 minutes, Ludovic Courtès écrivit : > I pushed a couple of patches that achieve the same result slightly > differently: ‘open-connection’ is left unchanged and it’s the caller’s > responsibility to handle any errors; clients use the new > ‘with-system-error-handling’ macro do handle all ‘system-error’ > exceptions gracefully. Right, much better and elegant fix :-) > One remark: > > > + (lambda (key . args) > > + (display (format #f "Error: Cannot connect to socket `~a': ~a\n" > > + file (apply format #f (cadr args) (caddr args))) > > + (current-error-port)) > > This could be directly (format (current-error-port) ...). I missed that part of the documentation. Thanks for pointing that out. > Also, we avoid uses of ‘car’, ‘cadr’ etc. in favor of ‘match’ (at least > in new code.) Noted, thanks. -- Cyprien/Fulax