Hash_gen
type bucket('a, 'b) =
| Empty
| Cons of {
mutable key: 'a,
mutable data: 'b,
mutable next: bucket('a, 'b),
}
;
let create: int => t('a, 'b);
let clear: t('a, 'b) => unit;
let reset: t('a, 'b) => unit;
let length: t('a, 'b) => int;
let iter: t('a, 'b) => ('c => 'd => 'e) => unit;
let fold: t('a, 'b) => 'c => ('d => 'e => 'f => 'g) => 'h;
let to_list: t('a, 'b) => ('c => 'd => 'e) => list('f);
let small_bucket_mem: bucket('a, 'b) => ('c => 'd => bool) => 'e => bool;
let small_bucket_opt: ('a => 'b => bool) => 'c => bucket('d, 'e) => option('f);
let small_bucket_key_opt:
('a => 'b => bool) =>
'c =>
bucket('d, 'e) =>
option('f);
let small_bucket_default:
('a => 'b => bool) =>
'c =>
'd =>
bucket('e, 'f) =>
'g;
let replace_bucket: 'a => 'b => bucket('c, 'd) => ('e => 'f => bool) => bool;
module type S = { ... };