X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=src%2Fhcons.ml;h=cc7327aeec4e33c87020713481acbfd2a031dd7e;hp=1fc059c636252dc46791f1e81de3b983be9e2453;hb=974dacbf4f625bfd8ea83db69d6b346050141fea;hpb=d9c0e4863807eaf472e875a4bad35cfefe985c95 diff --git a/src/hcons.ml b/src/hcons.ml index 1fc059c..cc7327a 100644 --- a/src/hcons.ml +++ b/src/hcons.ml @@ -14,17 +14,17 @@ (***********************************************************************) (* - Time-stamp: + Time-stamp: *) -include Sigs.HCONS +include Hcons_sig module type TableBuilder = functor - (H : Sigs.AUX.HashedType) -> - Sigs.AUX.HashSet with type data = H.t + (H : Common_sig.HashedType) -> + Common_sig.HashSet with type data = H.t -module Builder (TB : TableBuilder) (H : Sigs.AUX.HashedType) = +module Builder (TB : TableBuilder) (H : Common_sig.HashedType) = struct type data = H.t type t = { id : Uid.t; @@ -51,7 +51,7 @@ struct 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 + let cell = dummy x in try T.find pool cell with @@ -61,7 +61,7 @@ struct cell end -module Make = Builder (Utils.HashSet) +module Make = Builder (Misc.HashSet) module Weak = Builder (Weak.Make) module PosInt =