[plt-scheme] Procedure equality

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Thu Apr 30 07:52:16 EDT 2009

I think that, in principle, compiler optimizations can get in the way
of that working properly, but as far as I know, it will only make more
things eq? not fewer (as compared to what you might think).

But it will certainly be the case that if two procedures are eq, then
they are going to behave exactly the same.


On Thu, Apr 30, 2009 at 6:33 AM, Matthias Felleisen
<matthias at ccs.neu.edu> wrote:
> eq? is ptr comparison and that's all.
> On Apr 30, 2009, at 7:07 AM, Paulo J. Matos wrote:
>> Hi all,
>> Is eq? sure to return #t when given the same procedure?
>> I would think so since as far as I know it works at pointer level, right?
>> Cheers,
>> --
>> Paulo Jorge Matos - pocmatos at gmail.com
>> Webpage: http://www.personal.soton.ac.uk/pocm
>> _________________________________________________
>>  For list-related administrative tasks:
>>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Posted on the users mailing list.