[r6rs-discuss] peculiar semantics for a predicate
Anton van Straaten
anton at appsolutions.com
Thu Nov 1 12:08:13 EDT 2007
> On Thu, 25 Oct 2007, William D Clinger wrote:
>>According to R6RS library chapter 13, the argument to
>>hashtable? *must* be a hashtable, which means the
>>hashtable? predicate always returns true. When given
>>a non-hashtable as an argument, it raises an exception
>>instead of returning.
>>I doubt whether this was the intended semantics, but
>>those of us who take R6RS conformance seriously will
>>implement it faithfully.
> That is ... sad. I would not choose to make a dialect
> *less* useful, in an obvious way, in order to conform
> to what is clearly an error in the standard.
Sorry if this spoils anyone's fun, but this issue will be included in
the (upcoming) R6RS errata.
(If people prefer, in future the editors could wait longer to make such
an announcement, to maximize opportunities for grousing and grumbling.)
More information about the r6rs-discuss