X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbin%2Froles%2FrolesUtils.mli;h=5d6d49dc76c444c66e45eafa02624fd6fa7d6c05;hp=92acc162a432bf261733c28539173db753e9e796;hb=4d3256c98f816a2d2dc7b97557b61364e18d0806;hpb=3be6630ba2a592488502b320e85e45b55a099580 diff --git a/matita/matita/contribs/lambdadelta/bin/roles/rolesUtils.mli b/matita/matita/contribs/lambdadelta/bin/roles/rolesUtils.mli index 92acc162a..5d6d49dc7 100644 --- a/matita/matita/contribs/lambdadelta/bin/roles/rolesUtils.mli +++ b/matita/matita/contribs/lambdadelta/bin/roles/rolesUtils.mli @@ -13,13 +13,13 @@ val raise_error: RolesTypes.error -> 'a val list_nth: int -> ('a * 'b) list -> 'b -val list_toggle: int -> (bool * 'b) list -> (bool * 'b) list +val list_select: int -> (bool * 'b) list -> (bool * 'b) list -val list_toggle_all: (bool * 'b) list -> (bool * 'b) list +val list_select_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_find_selected: 'b option -> (bool * 'b) list -> 'b option val list_visit: (string -> string -> unit) -> (string -> bool -> string -> unit) -> @@ -38,21 +38,29 @@ val name_of_string: string -> RolesTypes.name val names_union: RolesTypes.names -> RolesTypes.names -> RolesTypes.names +val match_names: int -> int -> RolesTypes.objs -> RolesTypes.names -> (int * int) option + val string_of_obj: RolesTypes.obj -> string val obj_of_string: string -> RolesTypes.obj val objs_union: RolesTypes.objs -> RolesTypes.objs -> RolesTypes.objs +val get_tops: RolesTypes.version -> RolesTypes.roles -> 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 roles_expand_all: RolesTypes.roles -> unit -val get_tops: RolesTypes.version -> RolesTypes.roles -> RolesTypes.objs * RolesTypes.objs +val roles_expand: int -> RolesTypes.roles -> unit -val match_names: int -> int -> RolesTypes.objs -> RolesTypes.names -> (int * int) option +val exists_role_deleted: RolesTypes.version -> RolesTypes.roles -> bool + +val roles_split: + RolesTypes.version -> RolesTypes.roles -> + RolesTypes.roles * RolesTypes.objs * RolesTypes.names val new_status: RolesTypes.status