[plt-scheme] How to make unit functors?

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed May 28 10:07:07 EDT 2003

At Tue, 27 May 2003 19:47:22 +0200, =?Windows-1252?Q?Jens_Axel_S=F8gaard?= wrote:
> Is the same also true for symbols? That is does it hold for two
> symbols s1 and s2 that
> 
>   (= (eq-hash-code s1) (eq-hash-code s2)) =  (symbol=? s1 s2)
> 
> ?

Yes. `symbol=?' is `eq?' with its domain restricted to symbols.

Matthew



Posted on the users mailing list.