String.MapString maps.
include Stdlib.Map.S with type key := stringval empty : 'a tval is_empty : 'a t -> boolval mem : string -> 'a t -> boolval singleton : string -> 'a -> 'a tval iter : (string -> 'a -> unit) -> 'a t -> unitval fold : (string -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'bval for_all : (string -> 'a -> bool) -> 'a t -> boolval exists : (string -> 'a -> bool) -> 'a t -> boolval cardinal : 'a t -> intval bindings : 'a t -> (string * 'a) listval min_binding_opt : 'a t -> (string * 'a) optionval max_binding_opt : 'a t -> (string * 'a) optionval choose_opt : 'a t -> (string * 'a) optionval find_opt : string -> 'a t -> 'a optionval find_first : (string -> bool) -> 'a t -> string * 'aval find_first_opt : (string -> bool) -> 'a t -> (string * 'a) optionval find_last : (string -> bool) -> 'a t -> string * 'aval find_last_opt : (string -> bool) -> 'a t -> (string * 'a) optionval to_seq : 'a t -> (string * 'a) Stdlib.Seq.tval to_seq_from : string -> 'a t -> (string * 'a) Stdlib.Seq.tval of_seq : (string * 'a) Stdlib.Seq.t -> 'a tval min_binding : 'a t -> (string * 'a) optionException safe Map.S.min_binding.
val get_min_binding : 'a t -> string * 'aget_min_binding is like min_binding but
val max_binding : 'a t -> (string * 'a) optionException safe Map.S.max_binding.
val get_max_binding : 'a t -> string * 'aget_max_binding is like max_binding but
val choose : 'a t -> (string * 'a) optionException safe Map.S.choose.
val find : string -> 'a t -> 'a optionException safe Map.S.find.
val get : string -> 'a t -> 'aget k m is like Map.S.find but raises Invalid_argument if k is not bound in m.
val of_list : (string * 'a) list -> 'a tof_list bs is List.fold_left (fun m (k, v) -> add k v m) empty
bs.
val of_stdlib_map : 'a Stdlib.Map.Make(Stdlib.String).t -> 'a tof_stdlib_map m is a map from the stdlib-compatible map m.
val to_stdlib_map : 'a t -> 'a Stdlib.Map.Make(Stdlib.String).tto_stdlib_map m is the stdlib-compatible map equivalent to m.
val pp : ?sep:(Stdlib.Format.formatter -> unit -> unit) ->
(Stdlib.Format.formatter -> (string * 'a) -> unit) -> Stdlib.Format.formatter -> 'a t -> unitpp ~sep pp_binding ppf m formats the bindings of m on ppf. Each binding is formatted with pp_binding and bindings are separated by sep (defaults to Format.pp_print_cut). If the map is empty leaves ppf untouched.
val dump : (Stdlib.Format.formatter -> 'a -> unit) -> Stdlib.Format.formatter -> 'a t -> unitdump pp_v ppf m prints an unspecified representation of m on ppf using pp_v to print the map codomain elements.
val dump_string_map : Stdlib.Format.formatter -> string t -> unitdump_string_map ppf m prints an unspecified representation of the string map m on ppf.