Hallo,

On 4/3/09, leppie <[email protected]> wrote:
> Hi
>
> The R6RS states:
>
> "Hash-function should accept a key as an argument and should return a
> non-negative exact integer object."
>
> This only the only place that mentions a non-negative integer.
>
> What is the rationale for making the hash value non-negative?
>

     Maybe because the output is supposed to be used as an index into
some hash table array.

Cheers,
-- 
-alex
http://www.ventonegro.org/

_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss

Reply via email to