]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/ng_kernel/nUri.ml
- nUri : added Sets of uris for use in "probe"
[helm.git] / matita / components / ng_kernel / nUri.ml
index e92be39e16d6a4b6575c66101b042b1aaca309d8..ba87b2e2876709f0cc188c42edbe491f439d2334 100644 (file)
@@ -48,13 +48,15 @@ fun s ->
 
 let eq = (==);;
 let compare (n1,_) (n2,_) = n2 - n1;;
+let hash (n,_) = n;;
 
 module HT = struct
         type t = uri
         let equal = eq
         let compare = compare
-        let hash (n,_) = n;;
+        let hash = hash;;
 end;;
 
 module UriHash = Hashtbl.Make(HT);;
 module UriMap = Map.Make(HT);;
+module UriSet = Set.Make(HT);;