bug fixes, added the count queries
[SXSI/xpathcomp.git] / tagSet.ml
index 8495f6c..76c1c98 100644 (file)
--- a/tagSet.ml
+++ b/tagSet.ml
@@ -1,7 +1,17 @@
-include FiniteCofinite.Make(Ptset)
+(* module Ptset = 
+struct 
+  include Set.Make (struct type t = int let compare = (-) end)
+  let hash = Hashtbl.hash
+end
+  *)
+module M  : FiniteCofinite.S with type elt = Tag.t and type set = Ptset.t =
+  FiniteCofinite.Make(Ptset)
+include M
+
 
 let tag t = singleton t
 let pcdata = singleton Tag.pcdata
 let attribute = singleton Tag.attribute
 let star = diff any (cup pcdata attribute)
 let node = neg attribute
+