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

user-supplied hash-functions

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

In combination with the Issues section of HashTablesCowan, why the apparent bias against user-supplied hash-functions?

While sets keyed by simple types (numbers, symbols, strings, characters, ...) certainly are extremely useful, I also use complex structures with mutable elements not contributing to the equivalence predicate (or hashfunction), and I'd certainly want also to use them with records (distinguished by contents) too. Â Â

SRFI-113 can't do either of these as far as I can tell, but I can live with that if a separate hashtable api gives me the added generality.