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

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Fri Apr 22 16:32:33 EDT 2011

This is way overdue. Thanks. 

[I have used memf and assf from unstable and something else for my project.]


On Apr 22, 2011, at 4:26 PM, Vincent St-Amour wrote:

> 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



Posted on the dev mailing list.