[r6rs-discuss] peculiar semantics for a predicate
bear at sonic.net
Thu Nov 1 11:55:38 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.
More information about the r6rs-discuss