X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=src%2Fhcons.mli;h=b4049a0797eafe9ac93cea9fb6d6a3a5c7eb9709;hp=6b11bce6364aaba1b5aae6a5b5a3b665baeb3b94;hb=974dacbf4f625bfd8ea83db69d6b346050141fea;hpb=cb29d45b3a79233581292a2ef172151b1ff489cb diff --git a/src/hcons.mli b/src/hcons.mli index 6b11bce..b4049a0 100644 --- a/src/hcons.mli +++ b/src/hcons.mli @@ -13,22 +13,26 @@ (* *) (***********************************************************************) +(* + Time-stamp: +*) + (** Implementation of generic hashconsing. *) -include module type of Sigs.HCONS +include module type of Hcons_sig (** Output signature of the functor {!Hcons.Make} *) -module Make (H : Sigs.AUX.HashedType) : S with type data = H.t +module Make (H : Common_sig.HashedType) : S with type data = H.t (** Functor building an implementation of hashconsed values for a given - implementation of {!Sigs.HashedType}. Hashconsed values are + implementation of {!Common_sig.HashedType}. Hashconsed values are persistent: the are kept in memory even if no external reference remain. Calling [init()] explicitely will reclaim the space. *) -module Weak (H : Sigs.AUX.HashedType) : S with type data = H.t +module Weak (H : Common_sig.HashedType) : S with type data = H.t (** Functor building an implementation of hashconsed values for a given - implementation of {!Sigs.HashedType}. Hashconsed values have a + implementation of {!Common_sig.HashedType}. Hashconsed values have a weak semantics: they may be reclaimed as soon as no external reference to them exists. The space may still be reclaimed explicitely by calling [init].