eq and hashing (was Re: [plt-scheme] How to make unit functors?)

From: Robby Findler (robby at cs.uchicago.edu)
Date: Thu May 29 13:01:11 EDT 2003

At Thu, 29 May 2003 17:34:44 +0200, Jens_Axel_Søgaard wrote:
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> 
> Robby Findler wrote:
> 
> >But, if you take the hash-code of one of them and then wait a while
> >(and perform some garbage collections) then take the hash-code of the
> >other, you'll find that they are different. 
> >
> I have understood the hash-code will remain the same as long as the symbol
> (that specific) is alive.

That's right. The "one of them" and the "other" above refer to two
different 'x symbols (from my earlier message), typed in at different
times.

Robby


Posted on the users mailing list.