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?

By constraining the output, you are limiting the usage of fixnums and might
have to resort to big nums.

Cheers

leppie

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

Reply via email to