You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Additional operations for the MONO_HASH_TABLE interface #297
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
Activity
[-]Additional data structure operations[/-][+]Additional operations for the `MONO_HASH_TABLE` interface[/+]JohnReppy commentedon Feb 26, 2024
These have been implemented for 110.99.5. Also added the functions to the
HashTablestructure.