X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=ata.mli;h=e8d64b152b4f18eaadd411a9811bfbf45332b9ae;hb=477c1bef21a38e8371a745da9491fd6a6aae2aa5;hp=ae4e4790aa20f7949cb736fedc4724f64bf4a038;hpb=70ff0bfc463882ecf233f1b1a7ac4a8007fa4cc2;p=SXSI%2Fxpathcomp.git diff --git a/ata.mli b/ata.mli index ae4e479..e8d64b1 100644 --- a/ata.mli +++ b/ata.mli @@ -92,12 +92,13 @@ module type ResultSet = val fold : (elt -> 'a -> 'a) -> t -> 'a -> 'a val map : (elt -> elt) -> t -> t val length : t -> int - val merge : bool -> bool -> bool -> bool -> elt -> t -> t -> t + val merge : (bool*bool*bool*bool)-> elt -> t -> t -> t end module IdSet : ResultSet +module GResult : ResultSet val top_down_count : 'a t -> Tree.t -> int -val top_down : 'a t -> Tree.t -> IdSet.t +val top_down : 'a t -> Tree.t -> GResult.t val bottom_up_count : 'a t -> Tree.t -> [> `CONTAINS of 'b | `TAG of Tag.t ] -> int