Final review of johnwcowan/srfi-170/srfi-170.html, part 1 through 3.3 File system temp-file-prefix hga@xxxxxx 13 Aug 2020 15:59 UTC
Re: Final review of johnwcowan/srfi-170/srfi-170.html, part 1 through 3.3 File system temp-file-prefix John Cowan 13 Aug 2020 18:18 UTC
On POSIX errnos using 'number as a key, and SRFI 198 not defining that, 'code, etc. as standards at its level hga@xxxxxx 13 Aug 2020 18:46 UTC
Re: On POSIX errnos using 'number as a key, and SRFI 198 not defining that, 'code, etc. as standards at its level John Cowan 13 Aug 2020 20:31 UTC
Re: On POSIX errnos using 'number as a key, and SRFI 198 not defining that, 'code, etc. as standards at its level hga@xxxxxx 13 Aug 2020 21:04 UTC
Clearing up confusion Lassi Kortela 14 Aug 2020 15:12 UTC
Re: Clearing up confusion, and Windows errors as POSIX errno's Lassi Kortela 14 Aug 2020 15:27 UTC
Re: Clearing up confusion, and Windows errors as POSIX errno's hga@xxxxxx 15 Aug 2020 16:50 UTC
Re: Clearing up confusion John Cowan 15 Aug 2020 00:54 UTC
Re: Clearing up confusion Marc Nieper-Wißkirchen 15 Aug 2020 10:46 UTC
Clearing up the previous clearing up Lassi Kortela 15 Aug 2020 11:46 UTC
Re: Clearing up the previous clearing up John Cowan 15 Aug 2020 15:03 UTC
Re: Final review of johnwcowan/srfi-170/srfi-170.html, part 1 through 3.3 File system temp-file-prefix hga@xxxxxx 14 Aug 2020 11:31 UTC
Re: Final review of johnwcowan/srfi-170/srfi-170.html, part 1 through 3.3 File system temp-file-prefix John Cowan 14 Aug 2020 13:22 UTC
Re: Final review of johnwcowan/srfi-170/srfi-170.html, part 1 through 3.3 File system temp-file-prefix hga@xxxxxx 14 Aug 2020 14:01 UTC

Re: Clearing up confusion Marc Nieper-Wißkirchen 15 Aug 2020 10:46 UTC

Am Sa., 15. Aug. 2020 um 02:54 Uhr schrieb John Cowan <xxxxxx@ccil.org>:

> (guard e
>   (let ((set (foreign-status-ref e 'set)))
>     ((eqv? set 'posix) (posix-handler e))
>     ((eqv? set 'windows) (windows-handler e))
>     ((eqv? set 'postgresql) (postgresql-handler e))
>     ...))

This is not a well-formed guard expression, is it? The way "guard" has
been devised, the selection of each handler should depend on a quick
test that just has the exception as a free variable.

Here, It would be something like

(eq? (foreign-status-ref e 'set) 'posix)

but this can hopefully be shortened by some convenience predicate.

Marc