[plt-scheme] Procedure equality

From: Paulo J. Matos (pocmatos at gmail.com)
Date: Thu Apr 30 07:53:59 EDT 2009

On Thu, Apr 30, 2009 at 11:52 AM, Robby Findler
<robby at eecs.northwestern.edu> wrote:
> 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.
>

Thanks!

> Robby
>
> 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
>>
>



-- 
Paulo Jorge Matos - pocmatos at gmail.com
Webpage: http://www.personal.soton.ac.uk/pocm


Posted on the users mailing list.