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

Re: Improved error status

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



In general, there is no way in R7RS-small to create an object which
satisfies a specific error predicate.  The objects thrown by `error`
are generic errors, but they are not a supertype of all error objects;
indeed, the only reliable supertype of {all error objects} is {all objects}.
Yes, however R7RS even says an object satisfies `read-error?` or
`file-error?` may or may not satisfy `error-object?`. So it would be
nice to have this sentence so that if an implementation supports R6RS
or SRFI-35 (which I believe `condition-type?` can be `error-object?`)
may extend their the empty list queue error on top of their condition
system.

--
_/_/
Takashi Kato
E-mail: ktakashi@xxxxxxxxx