[r6rs-discuss] peculiar semantics for a predicate

R. Kent Dybvig dyb at cs.indiana.edu
Thu Oct 25 21:35:34 EDT 2007


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

Hmm.  Users might not hold failure to strictly conform to R6RS in this
instance against an implementor, so I may risk it.

Kent



More information about the r6rs-discuss mailing list