1 (***********************************************************************)
5 (* Kim Nguyen, LRI UMR8623 *)
6 (* Université Paris-Sud & CNRS *)
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 *)
14 (***********************************************************************)
16 include FiniteCofinite.Make(Ptset.Make(QName))
18 let print_finite fmt e conv =
19 Format.fprintf fmt "{";
20 Pretty.print_list ~sep:"," QName.print fmt (conv e);
21 Format.fprintf fmt "}"
23 let printer fmt e test conv inv =
24 if test e then print_finite fmt e conv
26 Format.fprintf fmt "%s \\ " Pretty.big_sigma;
27 print_finite fmt (inv e) conv
30 let print fmt e = printer fmt e is_finite elements complement
34 include FiniteCofinite.Weak(Ptset.Weak(QName))
35 let print fmt e = printer fmt e is_finite elements complement