[m-users.] Suggestion: hash_table should use a hash function instead of a hash predicate

Zoltan Somogyi zoltan.somogyi at runbox.com
Wed Sep 30 12:53:19 AEST 2020

2020-09-29 20:28 GMT+10:00 "Ted Stock" <testock at gmail.com>:
> I think the fix would be small: switching the module to use hash_func, and adding
> hash functions for the various types that currently include a hash predicate.

Yes, the switch to hash functions is a good idea, and implementing it
is simple. However, the change would break existing code. We would
need to add code to the compiler to tell users why their code broke,
and how to fix it.

I will look into doing that in the next few weeks, once I am done
working on some current projects.


More information about the users mailing list