Efficient static string dictionaries. By static, we mean that new key-value pairs cannot be added after the dictionary is created.
This uses the algorithm the OCaml compiler uses for pattern matching on strings.
include sig ... end
val hash_fold_t : (Base__.Ppx_hash_lib.Std.Hash.state ‑> 'a ‑> Base__.Ppx_hash_lib.Std.Hash.state) ‑> Base__.Ppx_hash_lib.Std.Hash.state ‑> 'a t ‑> Base__.Ppx_hash_lib.Std.Hash.state
val of_alist : (string * 'a) list ‑> ('a t, string) Base__.Import0.Caml.result
Creates a dictionary from an association list. It is an error for the list to contain duplicate keys.
val of_alist_exn : (string * 'a) list ‑> 'a t
val find : 'a t ‑> string ‑> 'a option
val find_exn : 'a t ‑> string ‑> 'a
val to_alist : 'a t ‑> (string * 'a) list