X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=tagSet.ml;h=74784cfb8c38ae309fe37b9646cd96b72a84fe3c;hb=cfd834dcdee634387ad2354f1382eeb9d816be45;hp=503df80f1cdd98620c7fff1fe4db9c125861ce0f;hpb=5b4679e20761058f1e04c123da52631c0dd265cc;p=SXSI%2Fxpathcomp.git diff --git a/tagSet.ml b/tagSet.ml index 503df80..74784cf 100644 --- a/tagSet.ml +++ b/tagSet.ml @@ -4,10 +4,14 @@ struct let hash = Hashtbl.hash end *) -include FiniteCofinite.Make(Ptset) +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 +