X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=ata.mli;fp=ata.mli;h=ae4e4790aa20f7949cb736fedc4724f64bf4a038;hb=70ff0bfc463882ecf233f1b1a7ac4a8007fa4cc2;hp=3152112fefa7a3a5c64d9d3c0fafa3e2e1f7ac74;hpb=451e60ad59e35344dff62da5ca27fcd5eec1bff9;p=SXSI%2Fxpathcomp.git diff --git a/ata.mli b/ata.mli index 3152112..ae4e479 100644 --- a/ata.mli +++ b/ata.mli @@ -84,13 +84,15 @@ val dump : Format.formatter -> 'a t -> unit module type ResultSet = sig type t + type elt = [`Tree] Tree.node val empty : t - val cons : Tree.t -> t -> t + val cons : elt -> t -> t val concat : t -> t -> t - val iter : (Tree.t -> unit) -> t -> unit - val fold : (Tree.t -> 'a -> 'a) -> t -> 'a -> 'a - val map : (Tree.t -> Tree.t) -> t -> t + val iter : (elt -> unit) -> t -> unit + 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 end module IdSet : ResultSet