projects
/
SXSI
/
xpathcomp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.
[SXSI/xpathcomp.git]
/
tagSet.ml
diff --git
a/tagSet.ml
b/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
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
+