X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=src%2Fptset.mli;fp=src%2Fptset.mli;h=df3825526103a4eb030ff088b0d4fc7897487ca7;hp=0000000000000000000000000000000000000000;hb=cba2938d929fd5119b1491686ddc224d5af618c6;hpb=0cf8def92c8c6e708ec333b13dbe46decf554d81 diff --git a/src/ptset.mli b/src/ptset.mli new file mode 100644 index 0000000..df38255 --- /dev/null +++ b/src/ptset.mli @@ -0,0 +1,34 @@ +(***********************************************************************) +(* *) +(* TAToo *) +(* *) +(* Kim Nguyen, LRI UMR8623 *) +(* Université Paris-Sud & CNRS *) +(* *) +(* Copyright 2010-2012 Université Paris-Sud and Centre National de la *) +(* Recherche Scientifique. All rights reserved. This file is *) +(* distributed under the terms of the GNU Lesser General Public *) +(* License, with the special exception on linking described in file *) +(* ../LICENSE. *) +(* *) +(***********************************************************************) + +module type S = + sig + include Sigs.Set + include Hcons.S with type t := t + end +(** Output signature of the {!Ptset.Make} and {!Ptset.Weak} functors. *) + +module Make (H : Hcons.Abstract) : S with type elt = H.t +(** Builds an implementation of hashconsed sets of hashconsed elements. + See {!Hcons.Make}. +*) + +module Weak (H : Hcons.Abstract) : S with type elt = H.t +(** Builds an implementation of hashconsed sets of hashconsed elements + with weak internal storage. See {!Hcons.Weak}. +*) + +module PosInt : Sigs.Set with type elt = int +(** Implementation of hashconsed sets of positive integers *)