[plt-scheme] Equality of structs

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Fri May 15 10:45:46 EDT 2009

It will work by default if the struct is transparent or prefab.
Otherwise use the prop:equal+hash to define your own equal? behavior.


On Fri, May 15, 2009 at 8:42 AM, wooks <wookiz at hotmail.com> wrote:
> Is equal? supposed to work on structs or do I have to write my own
> equality predicate.
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University

"The glory of God is Intelligence" - D&C 93

Posted on the users mailing list.