The hash table in the SML/NJ library is missing some operations that would be useful.
signature MONO_HASH_TABLE = sig
(* ... *)
(* Same as those in ORD_MAP *)
val insertWith : ('a * 'a -> 'a) -> 'a hash_table -> Key.hash_key * 'a -> unit
val findAndRemove : 'a hash_table -> Key.hash_key -> 'a option
end
Description
The hash table in the SML/NJ library is missing some operations that would be useful.