[r6rs-discuss] Hash function return value constraints

Abdulaziz Ghuloum aghuloum at cs.indiana.edu
Fri Apr 3 16:35:06 EDT 2009


On Apr 4, 2009, at 1:28 AM, r6rsguy at free-comp-shop.com wrote:

> Of the two people who answered, Aziz said he had
> not thought about it enough to know,

That's not what I said.  I have thought about it.
I cannot think of any rationale for allowing only
non-negative numbers.  As a matter of fact, I knew
about this issue when I implemented string-hash in
Ikarus and have decided that the Ikarus implementation
should return a fixnum (positive or negative), not
a non-negative exact integer as R6RS seems to require.

Aziz,,,



More information about the r6rs-discuss mailing list