Module type Hashtbl.Multi
val add_multi : ('a, 'b list) t -> key:'a key -> data:'b -> unit
add_multi t ~key ~data
ifkey
is present in the table then consdata
on the list, otherwise addkey
with a single element list.
Hashtbl.Multi
val add_multi : ('a, 'b list) t -> key:'a key -> data:'b -> unit
add_multi t ~key ~data
if key
is present in the table then cons data
on the list, otherwise add key
with a single element list.