Implement formulae parametrized by atomic predicates.
[tatoo.git] / src / hcons.ml
index 6a40b06..1fc059c 100644 (file)
@@ -14,7 +14,7 @@
 (***********************************************************************)
 
 (*
-  Time-stamp: <Last modified on 2013-01-30 19:08:47 CET by Kim Nguyen>
+  Time-stamp: <Last modified on 2013-02-06 14:26:22 CET by Kim Nguyen>
 *)
 
 include Sigs.HCONS
@@ -48,6 +48,7 @@ struct
   let init () =
     T.clear pool;
     uid_make := Uid.make_maker ()
+  let dummy x = { id = Uid.dummy; hash = H.hash x; node = x }
 
   let make x =
     let cell = { id = Uid.dummy; hash = H.hash x; node = x } in
@@ -76,7 +77,7 @@ struct
   let hash v = v
 
   let uid v = Uid.of_int v
-
+  let dummy _ = ~-1
   let equal x y = x == y
 
   let init () = ()