Ordered_hash_map_gen
Hash based datastrucure which does not support remove
, so that the adding order is strict and continous
module type S = { ... };
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 => int => 'e) => unit;
let choose: t('a, 'b) => 'c;
let to_sorted_array: t('a, 'b) => array('c);
let fold: t('a, 'b) => 'c => ('d => 'e => int => 'f => 'g) => 'h;
let elements: t('a, 'b) => list('c);
let bucket_length: int => bucket('a, 'b) => int;