X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbin%2Froles%2FrolesUtils.mli;h=5266292950086ab062f40e3e769528e8d96630e0;hb=cfccf434a57e10848d74d06674af4ec9cef0f0ca;hp=c67e037071f1c75691c1eb4e5775b34f5f04b098;hpb=a1ae862976f2489107dd107937f5e05d0aaa7144;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/bin/roles/rolesUtils.mli b/matita/matita/contribs/lambdadelta/bin/roles/rolesUtils.mli index c67e03707..526629295 100644 --- a/matita/matita/contribs/lambdadelta/bin/roles/rolesUtils.mli +++ b/matita/matita/contribs/lambdadelta/bin/roles/rolesUtils.mli @@ -11,15 +11,21 @@ val raise_error: RolesTypes.error -> 'a -val list_union: ('a -> RolesTypes.error) -> ('a -> 'a -> int) -> - ('b*'a) list -> ('b*'a) list -> ('b*'a) list - val list_nth: int -> ('a * 'b) list -> 'b val list_toggle: int -> (bool * 'b) list -> (bool * 'b) list val list_toggle_all: (bool * 'b) list -> (bool * 'b) list +val list_split: (bool * 'b) list -> (bool * 'b) list * (bool * 'b) list + +val list_select: 'b option -> (bool * 'b) list -> 'b option + +val list_visit: + (string -> string -> unit) -> (string -> bool -> string -> unit) -> + (RolesTypes.pointer -> 'a -> unit) -> (unit -> unit) -> + ('a -> string) -> RolesTypes.pointer -> (bool * 'a) list -> unit + val string_of_version: RolesTypes.version -> string val version_of_string: string -> RolesTypes.version @@ -28,14 +34,28 @@ val string_of_name: RolesTypes.name -> string val name_of_string: string -> RolesTypes.name -val compare_names: RolesTypes.name -> RolesTypes.name -> int +val names_union: RolesTypes.names -> RolesTypes.names -> RolesTypes.names val string_of_obj: RolesTypes.obj -> string val obj_of_string: string -> RolesTypes.obj +val objs_union: RolesTypes.objs -> RolesTypes.objs -> RolesTypes.objs + +val string_of_role: RolesTypes.role -> string + +val roles_union: RolesTypes.roles -> RolesTypes.roles -> RolesTypes.roles + +val exists_role_deleted: RolesTypes.version -> RolesTypes.roles -> bool + +val get_tops: RolesTypes.version -> RolesTypes.roles -> RolesTypes.objs * RolesTypes.objs + +val match_names: int -> int -> RolesTypes.objs -> RolesTypes.names -> (int * int) option + val new_status: RolesTypes.status +val string_of_pointer: RolesTypes.pointer -> string + val pointer_of_string: string -> RolesTypes.pointer val string_of_error: RolesTypes.error -> string