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