module StringSetMap: MAP
with type key = StringSet.t
Map of string sets
include Map.S
val to_string : ('a -> string) -> 'a t -> string
Pretty-printing
val to_json : ('a -> OpamJson.t) -> 'a t -> OpamJson.t
Return a JSON representation of the given map.
val values : 'a t -> 'a list
Return the values in the map.
val keys : 'a t -> key list
Return the keys in the map.
val union : ('a -> 'a -> 'a) -> 'a t -> 'a t -> 'a t
A 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 of_list : (key * 'a) list -> 'a t
Convert an assoc list to a map