Module Location.PathMap
the PathMap
submodule provides special maps with path
s as keys
type key
= path
type 'a t
the abstract type for the map holding values of type
'a
. Multiple values are allowed to associate with the same path
val empty : 'a t
an empty map
val merge : ?equal:('a -> 'a -> bool) -> 'a t -> 'a t -> 'a t
merge ?(equal=Stdlib.(=)) t1 t2
mergest1
andt2
, eliminating duplicated entries. Two entriespath1 => value1
andpath2 => value2
are considered identical ifpath1 = path2
andequal value1 value2
.Duplications in
t1
ort2
are not eliminated.