X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=src%2Fhcons.mli;h=3e80a036c886e6034a70cb8142882ac71bbf33a3;hp=6b11bce6364aaba1b5aae6a5b5a3b665baeb3b94;hb=41dd1fed04cabad212f10fce3484545f6e9d9444;hpb=f5d90fb688bc1a9b29815fc33c369856e6c51a67 diff --git a/src/hcons.mli b/src/hcons.mli index 6b11bce..3e80a03 100644 --- a/src/hcons.mli +++ b/src/hcons.mli @@ -15,20 +15,20 @@ (** 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].