]> matita.cs.unibo.it Git - helm.git/blobdiff - components/urimanager/uriManager.ml
added sets of uri pairs (useful for edges between uris)
[helm.git] / components / urimanager / uriManager.ml
index eb0388cc297a80e0e6a29f7f5fe3ef31af864102..c0da8eb4b334e5a3e01fea383fcfcc8c88879678 100644 (file)
@@ -220,6 +220,19 @@ end
 
 module UriSet = Set.Make (OrderedUri)
 
+(*
+module OrderedUriPair =
+struct
+  type t = uri * uri
+  let compare (u11, u12) (u21, u22) =
+    match compare u11 u21 with
+    | 0 -> compare u12 u22
+    | x -> x
+end
+
+module UriPairSet = Set.Make (OrderedUriPair)
+*)
+
 module HashedUri =
 struct
   type t = uri