[r6rs-discuss] Hash function return value constraints

r6rsguy at free-comp-shop.com r6rsguy at free-comp-shop.com
Fri Apr 3 18:28:58 EDT 2009


> From: "leppie" <xacc.ide at gmail.com>
> Cc: r6rs-discuss <r6rs-discuss at lists.r6rs.org>
> 
> > I cannot think of any.
> 
> 
> Seeing no-one but you and someone else responded, I will assume this 
> 'should' means 'would be preferred to'.
> 
> I choose not to prefer to.

I suppose you can choose any craziness you want but:

Of the two people who answered, Aziz said he had
not thought about it enough to know, and Alex
gave the answer I thought was obvious.  I did not
bother to answer a question that had already been
answered.  Don't count me in favor of negative
hash values just because I did not repeat the
obvious.

You are not allowed to decied what "should"
means in the context of R6RS, since section 2
page 9 defines the term.  It says

$> implications must be understood and weighed
$> before choosing a different course.

So why should a hash value be negative?

   -- Keith



More information about the r6rs-discuss mailing list