[racket-dev] Optional equality predicate for assoc and member

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Fri Apr 22 16:31:14 EDT 2011

Isn't that memf and assf?

Jay

2011/4/22 Vincent St-Amour <stamourv at ccs.neu.edu>:
> Currently, unlike remove and remove-duplicates, assoc and member
> cannot use a user-provided equality check. I have a patch that fixes
> that by adding an optional argument to these two functions.
>
> With this patch, assoc and member are implemented in Racket. They are
> currently implemented in C. I haven't measured the performance impact
> of the change, but I can do it if someone believes it's necessary.
>
> Is anyone opposed to this change?
>
> Vincent
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/dev
>



-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay

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



Posted on the dev mailing list.