Further optimisations, changed the prototype of Tree.mli
[SXSI/xpathcomp.git] / finiteCofinite.mli
index b489557..7f98130 100644 (file)
@@ -4,6 +4,7 @@ module type S =
   sig
     type elt
     type t
+    type set 
     val empty : t
     val any : t
     val is_empty : t -> bool
@@ -32,7 +33,9 @@ module type S =
     val choose : t -> elt
     val hash : t -> int
     val equal : t -> t -> bool
+    val positive : t -> set
+    val negative : t -> set
   end
 
-module Make :  functor (E : Sigs.Set) -> S with type elt = E.elt
+module Make :  functor (E : Sigs.Set) -> S with type elt = E.elt and type set = E.t