[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Comparison of elements/keys

This page is part of the web mail archives of SRFI 44 from before July 7th, 2015. The new archives for SRFI 44 contain all messages, not just those from before July 7th, 2015.

In the current state of SRFI 44, there is no way to declare what equality comparison function to use for bag elements, set elements, and dictionary

I would like some way to specify what function be used to compare two
elements (i.e. the arguments to the function should be congruent with EQ?)
when creating bags, sets, and dictionaries (in which case, keys would be
compared), and perhaps also some way to specify a comparison function in
all (or at least some) of the operations on bags, sets, and dictionaries.