TopdefName.Map
exception Not_found of key
val values : 'a t -> 'a list
val format_keys :
?pp_sep:(Stdlib.Format.formatter -> unit -> unit) ->
Stdlib.Format.formatter ->
'a t ->
unit
val format_values :
?pp_sep:(Stdlib.Format.formatter -> unit -> unit) ->
(Stdlib.Format.formatter -> 'a -> unit) ->
Stdlib.Format.formatter ->
'a t ->
unit
val format_bindings :
?pp_sep:(Stdlib.Format.formatter -> unit -> unit) ->
(Stdlib.Format.formatter -> (Stdlib.Format.formatter -> unit) -> 'a -> unit) ->
Stdlib.Format.formatter ->
'a t ->
unit
Formats the bindings of t
in order. The user-supplied format function is provided with a formatter for keys (can be used with "%t"
) and the corresponding value.
val format :
?pp_sep:(Stdlib.Format.formatter -> unit -> unit) ->
?pp_bind:(Stdlib.Format.formatter -> unit -> unit) ->
(Stdlib.Format.formatter -> 'a -> unit) ->
Stdlib.Format.formatter ->
'a t ->
unit
Formats all bindings of the map in order using the given separator (default "; "
) and binding indicator (default " = "
).