[m-dev.] standard library hash functions

Julien Fischer jfischer at opturion.com
Mon Aug 5 16:40:13 AEST 2019


Hi all,

With commit f495964, we now have two copies of the int (uint) hash
function -- one in library/hash_table.m and one in 
library/version_hash_table.m.  I propose we add the functions

     uint.hash/1
     int.hash/1
     char.hash/1 (for the sake of uniformity)

and replace the ones the *hash_table modules.  (Note that we already
have both float.hash/1 and string.hash/1.)  Also, if anyone can think
of a good home for generic_hash/1, that's also duplicated between the
two modules.

Julien.


More information about the developers mailing list