MakeAction.Mapinclude OpamCompat.MAP with type key = package OpamTypes.actioninclude Stdlib.Map.S with type key = package OpamTypes.actiontype key = package OpamTypes.actionval empty : 'a tval is_empty : 'a t -> boolval cardinal : 'a t -> intval to_string : ('a -> string) -> 'a t -> stringval to_json : 'a OpamJson.encoder -> 'a t OpamJson.encoderval of_json : 'a OpamJson.decoder -> 'a t OpamJson.decoderval values : 'a t -> 'a listA key will be in the union of m1 and m2 if it is appears either m1 or m2, with the corresponding value. If a key appears in both m1 and m2, then the resulting value is built using the function given as argument.
val is_singleton : 'a t -> boolupdate k f zero map updates the binding of k in map using function f, applied to the current value bound to k or zero if none