sig
module Elt :
sig
type t
val compare : t -> t -> int
val equal : t -> t -> bool
val hash : t -> int
val to_string : t -> string
val pp : Format.formatter -> t -> unit
val tags : t -> Tags.t
val subst_tags : Tagpairs.t -> t -> t
val satisfiable : t Fun.predicate
val valid : t Fun.predicate
val unify :
?update_check:Tagpairs.t Unification.state_update Fun.predicate ->
(Tagpairs.t, 'a, t) Unification.cps_unifier
val biunify :
?update_check:(Tagpairs.t * Tagpairs.t) Unification.state_update
Fun.predicate ->
(Tagpairs.t * Tagpairs.t, 'a, t) Unification.cps_unifier
end
type t
val hash : t -> int
val pp : Format.formatter -> t -> unit
type elt = Elt.t
val empty : t
val is_empty : t -> bool
val mem : elt -> t -> bool
val add : elt -> t -> t
val singleton : elt -> t
val remove : elt -> t -> t
val union : t -> t -> t
val inter : t -> t -> t
val diff : t -> t -> t
val compare : t -> t -> int
val equal : t -> t -> bool
val subset : t -> t -> bool
val iter : (elt -> unit) -> t -> unit
val fold : (elt -> 'a -> 'a) -> t -> 'a -> 'a
val for_all : (elt -> bool) -> t -> bool
val exists : (elt -> bool) -> t -> bool
val filter : (elt -> bool) -> t -> t
val partition : (elt -> bool) -> t -> t * t
val cardinal : t -> int
val elements : t -> elt list
val min_elt : t -> elt
val max_elt : t -> elt
val choose : t -> elt
val split : elt -> t -> t * bool * t
val of_list : elt list -> t
val to_list : t -> elt list
val endomap : (elt -> elt) -> t -> t
val map_to : ('b -> 'a -> 'a) -> 'a -> (elt -> 'b) -> t -> 'a
val opt_map_to : ('b -> 'a -> 'a) -> 'a -> (elt -> 'b option) -> t -> 'a
val map_to_list : (elt -> 'a) -> t -> 'a list
val weave :
(elt -> 'a -> 'a list) ->
(elt -> 'a -> 'b) -> ('b list -> 'b) -> t -> 'a -> 'b
val find : (elt -> bool) -> t -> elt
val find_opt : (elt -> bool) -> t -> elt option
val find_map : (elt -> 'a option) -> t -> 'a option
val union_of_list : t list -> t
val subsets : t -> t list
val fixpoint : (t -> t) -> t -> t
val del_first : (elt -> bool) -> t -> t
val disjoint : t -> t -> bool
val mk_unifier :
bool ->
bool ->
('a, 'b, elt) Unification.cps_unifier ->
('a, 'b, t) Unification.cps_unifier
val inconsistent : t -> bool
val tags : t -> Tags.t
val tag_pairs : t -> Tagpairs.t
val subst_tags : Tagpairs.t -> t -> t
val generate : ?avoid:Tags.t -> ?augment:bool -> Tags.elt -> Tags.t -> t
val remove_schema : t -> Tags.t -> (t * string) option
val verify_schemas : Tags.t -> t -> bool
val upper_bounds : ?strict:bool -> Tags.elt -> t -> Tags.t
val close : t -> t
val all_pairs : t -> Tagpairs.t
val prog_pairs : t -> Tagpairs.t
val subsumes : t -> t -> bool
val unify :
?total:bool ->
?inverse:bool ->
?update_check:Tagpairs.t Unification.state_update Fun.predicate ->
(Tagpairs.t, 'a, t) Unification.cps_unifier
val biunify :
?total:bool ->
?update_check:(Tagpairs.t * Tagpairs.t) Unification.state_update
Fun.predicate ->
(Tagpairs.t * Tagpairs.t, 'a, t) Unification.cps_unifier
val mk_update_check :
(Tagpairs.t * (Tags.Elt.t * Tags.Elt.t)) Fun.predicate ->
(Tagpairs.t * Tagpairs.t) Fun.predicate
val parse : (t, 'a) MParser.parser
val of_string : string -> t
val to_string_list : t -> string list
val to_string : t -> string
val to_melt : t -> Latex.t
end