Obj.Ephemeron
Ephemeron with arbitrary arity and untyped
an ephemeron cf Ephemeron
let create: int => t;
create n
returns an ephemeron with n
keys. All the keys and the data are initially empty. The argument n
must be between zero and max_ephe_length
(limits included).
let length: t => int;
return the number of keys
let unset_key: t => int => unit;
let check_key: t => int => bool;
let unset_data: t => unit;
let check_data: t => bool;