X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=tagSet.ml;h=74784cfb8c38ae309fe37b9646cd96b72a84fe3c;hb=8b3283c30149065d761e38cf0818c8ede62d48ab;hp=8495f6cc5e7c5e392471536ff616f4f00dbe72d5;hpb=d64e3a3a9ef6329caafdba848ef78427fce0d689;p=SXSI%2Fxpathcomp.git diff --git a/tagSet.ml b/tagSet.ml index 8495f6c..74784cf 100644 --- 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.Int.t = + FiniteCofinite.Make(Ptset.Int) +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 +