cherry pick from local- branch
[SXSI/xpathcomp.git] / hcons.mli
index bc72d33..888531e 100644 (file)
--- a/hcons.mli
+++ b/hcons.mli
@@ -7,6 +7,9 @@ module type SA =
     val hash : t -> int
     val uid : t -> Uid.t
     val equal : t -> t -> bool
+
+      
+    val with_id : Uid.t -> t
   end
 
 module type S =
@@ -20,6 +23,9 @@ module type S =
     val hash : t -> int
     val uid : t -> Uid.t
     val equal : t -> t -> bool
+
+      
+    val with_id : Uid.t -> t
   end
 
 module Make (H : Hashtbl.HashedType) : S with type data = H.t