[plt-scheme] How to make unit functors?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed May 28 18:15:02 EDT 2003

At Wed, 28 May 2003 16:32:15 -0500, Robby Findler wrote:
> Actually, this seems bad (or maybe just confusing?) -- it means that I
> have to save not only the hash-code for an object; I also have to save
> the object itself to ensure the hash-code doesn't change. Maybe this is
> only really confusing for symbols?

Can you give an example where an eq-hash-code is useful without its
object? (Normally, you'd use a hash code to find the place in a data
structure where the value is stored.)

Matthew



Posted on the users mailing list.