let abc: Hashtbl.t(string, string) = Hashtbl.create(5);
/* it’s ok */
abc->Hashtbl.add(“a1”, “value”);
/* it’s ok */
{
open Hashtbl;
add(abc, “c1”, “value”);
abc->add(“d1”, “value”);
}
/* it’s not ok */
Hashtbl.(
add(abc, “b1”, “b1v”);
abc->abc(“b1”, “b1v”);
);
why? you can see about this in