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

numeric ranges and errors

This page is part of the web mail archives of SRFI 50 from before July 7th, 2015. The new archives for SRFI 50 contain all messages, not just those from before July 7th, 2015.




I notice that there is no way to test whether a given long or unsigned
long value can be converted to Scheme other than by doing it and
perhaps getting an error.

I think that that _would_ be just fine except for the fact that errors
cause non-local exits, giving the C function no opportunity to try a
different approach (e.g., using a smaller buffer size in an I/O
primitive).

-t