[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.



On 07/12/2014 00:28, John Cowan wrote:
I've modified the code so that rather than calling `error` to signal an
empty list queue, it calls `raise`, passing a unique object.  This can
be checked using `empty-list-queue-error?` on the object when it is caught.
This may be out of R7RS/this SRFI but isn't it better to mention that
this error object may or may not satisfy `error-object?` or something
like that? (Preferably should satisfy but I believe it's impossible in
sense of R7RS.)

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