Usable version:
[tatoo.git] / src / ptset.mli
1 (***********************************************************************)
2 (*                                                                     *)
3 (*                               TAToo                                 *)
4 (*                                                                     *)
5 (*                     Kim Nguyen, LRI UMR8623                         *)
6 (*                   Université Paris-Sud & CNRS                       *)
7 (*                                                                     *)
8 (*  Copyright 2010-2012 Université Paris-Sud and Centre National de la *)
9 (*  Recherche Scientifique. All rights reserved.  This file is         *)
10 (*  distributed under the terms of the GNU Lesser General Public       *)
11 (*  License, with the special exception on linking described in file   *)
12 (*  ../LICENSE.                                                        *)
13 (*                                                                     *)
14 (***********************************************************************)
15
16 module type S =
17   sig
18     include Sigs.Set
19     include Hcons.S with type t := t
20   end
21 (** Output signature of the {!Ptset.Make} and {!Ptset.Weak} functors. *)
22
23 module Make (H : Hcons.Abstract) : S with type elt = H.t
24 (** Builds an implementation of hashconsed sets of hashconsed elements.
25     See {!Hcons.Make}.
26 *)
27
28 module Weak (H : Hcons.Abstract) : S with type elt = H.t
29 (** Builds an implementation of hashconsed sets of hashconsed elements
30     with weak internal storage. See {!Hcons.Weak}.
31 *)
32
33 module PosInt : Sigs.Set with type elt = int
34 (** Implementation of hashconsed sets of positive integers *)