Module Make
: (H:HashedType)->sigend
Functor building an implementation of the hashtable structure. The functor Hashtbl.Make returns a
structure containing a type key of keys and a type 'at of hash tables associating data of type 'a to
keys of type key . The operations perform similarly to those of the generic interface, but use the
hashing and equality functions specified in the functor argument H instead of generic equality and
hashing. Since the hash function is not seeded, the create operation of the result structure always
returns non-randomized hash tables.
Parameters:
"H"
MoreLabels.Hashtbl.HashedTypetypekeytype!'atvalcreate : int->'atvalclear : 'at->unitvalreset : 'at->unitSince 4.00
valcopy : 'at->'atvaladd : 'at->key:key->data:'a->unitvalremove : 'at->key->unitvalfind : 'at->key->'avalfind_opt : 'at->key->'aoptionSince 4.05
valfind_all : 'at->key->'alistvalreplace : 'at->key:key->data:'a->unitvalmem : 'at->key->boolvaliter : f:(key:key->data:'a->unit)->'at->unitvalfilter_map_inplace : f:(key:key->data:'a->'aoption)->'at->unitSince 4.03
valfold : f:(key:key->data:'a->'acc->'acc)->'at->init:'acc->'accvallength : 'at->intvalstats : 'at->MoreLabels.Hashtbl.statisticsSince 4.00
valto_seq : 'at->(key*'a)Seq.tSince 4.07
valto_seq_keys : 'at->keySeq.tSince 4.07
valto_seq_values : 'at->'aSeq.tSince 4.07
valadd_seq : 'at->(key*'a)Seq.t->unitSince 4.07
valreplace_seq : 'at->(key*'a)Seq.t->unitSince 4.07
valof_seq : (key*'a)Seq.t->'atSince 4.07
OCamldoc 2025-06-12 MoreLabels.Hashtbl.Make(3o)