Module CCMultiMap
Multimap
module type S = sig ... endmodule type OrderedType = sig ... endmodule Make : functor (K : OrderedType) -> functor (V : OrderedType) -> S with type key = K.t and type value = V.tTwo-Way Multimap
Represents n-to-n mappings between two types. Each element from the "left" is mapped to several right values, and conversely.
- since
- 0.3.3
module type BIDIR = sig ... endmodule MakeBidir : functor (L : OrderedType) -> functor (R : OrderedType) -> BIDIR with type left = L.t and type right = R.t