package string_dict
Module String_dictSource
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 Ppx_hash_lib.Hashable.S1 with type 'a t := 'a t
Source
val hash_fold_t :
(Base.Hash.state -> 'a -> Base.Hash.state) ->
Base.Hash.state ->
'a t ->
Base.Hash.stateWe don't use [@@deriving sexp], to avoid a circular dependency.
Creates a dictionary from an association list. It is an error for the list to contain duplicate keys.