[plt-scheme] equal? for native extension types [patch]

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Feb 13 20:28:00 EST 2007

At Tue, 13 Feb 2007 19:29:01 -0500 (EST), Dimitris Vyzovitis wrote:
> The attached patch adds "scheme_set_type_equalp" to allow extensions to
> register per-type equality functions and extends scheme_equal to treat
> them accordingly. It applies against svn revision 5592.

Thanks. I'll fold this in soon, but I'll have to extend it a bit first:
you need to extend the `equal-hash-code' function whenever you extend
`equal?'.

Matthew



Posted on the users mailing list.