X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbin%2Froles%2FrolesUtils.mli;h=92acc162a432bf261733c28539173db753e9e796;hb=3be6630ba2a592488502b320e85e45b55a099580;hp=252162e892989ef7c9b17c9d95bf59b37d22c0d4;hpb=f07cd97493f650ee779be874d1159c0e807f8273;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/bin/roles/rolesUtils.mli b/matita/matita/contribs/lambdadelta/bin/roles/rolesUtils.mli index 252162e89..92acc162a 100644 --- a/matita/matita/contribs/lambdadelta/bin/roles/rolesUtils.mli +++ b/matita/matita/contribs/lambdadelta/bin/roles/rolesUtils.mli @@ -21,10 +21,17 @@ 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 +val compare_versions: RolesTypes.version -> RolesTypes.version -> int + val string_of_name: RolesTypes.name -> string val name_of_string: string -> RolesTypes.name @@ -37,6 +44,8 @@ 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 @@ -47,6 +56,8 @@ val match_names: int -> int -> RolesTypes.objs -> RolesTypes.names -> (int * int 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