X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbin%2Froles%2FrolesUtils.mli;h=5317c51017a9d029e8c94330e623da036772937a;hb=59fd7b5ea24e71b47aee069440f140bcccf1292a;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..5317c5101 100644 --- a/matita/matita/contribs/lambdadelta/bin/roles/rolesUtils.mli +++ b/matita/matita/contribs/lambdadelta/bin/roles/rolesUtils.mli @@ -11,42 +11,71 @@ val raise_error: RolesTypes.error -> 'a -val list_nth: int -> ('a * 'b) list -> 'b +val list_apply: (int -> 'a -> bool) -> ('a -> unit) -> int -> 'a list -> bool -val list_toggle: int -> (bool * 'b) list -> (bool * 'b) list +val list_nth: ('a -> unit) -> int -> 'a list -> unit -val list_toggle_all: (bool * 'b) list -> (bool * 'b) list +val list_split: ('a -> bool) -> ('a -> unit) -> 'a list -> 'a list * 'a list -val list_split: (bool * 'b) list -> (bool * 'b) list * (bool * 'b) list +val list_visit: + (string -> string -> unit) -> RolesTypes.each -> + (RolesTypes.pointer -> 'a -> unit) -> (unit -> unit) -> + ('a -> bool) -> ('a -> string) -> ('a -> string) -> RolesTypes.pointer -> 'a list -> unit -val list_select: 'b option -> (bool * 'b) list -> 'b option +val string_of_stage: RolesTypes.stage -> string -val string_of_version: RolesTypes.version -> string +val stage_of_string: string -> RolesTypes.stage -val version_of_string: string -> RolesTypes.version +val stage_compare: RolesTypes.stage -> RolesTypes.stage -> int -val string_of_name: RolesTypes.name -> string +val string_of_nobj: RolesTypes.nobj -> string -val name_of_string: string -> RolesTypes.name +val nobj_of_string: string -> RolesTypes.nobj -val names_union: RolesTypes.names -> RolesTypes.names -> RolesTypes.names +val key_of_nobj: RolesTypes.nobj -> string -val string_of_obj: RolesTypes.obj -> string +val nobj_selected: RolesTypes.nobj -> bool -val obj_of_string: string -> RolesTypes.obj +val nobj_select: RolesTypes.nobj -> unit -val objs_union: RolesTypes.objs -> RolesTypes.objs -> RolesTypes.objs +val nobj_union: RolesTypes.nobjs -> RolesTypes.nobjs -> RolesTypes.nobjs -val roles_union: RolesTypes.roles -> RolesTypes.roles -> RolesTypes.roles +val string_of_oobj: RolesTypes.oobj -> string -val exists_role_deleted: RolesTypes.version -> RolesTypes.roles -> bool +val oobj_of_string: string -> RolesTypes.oobj -val get_tops: RolesTypes.version -> RolesTypes.roles -> RolesTypes.objs * RolesTypes.objs +val key_of_oobj: RolesTypes.oobj -> string -val match_names: int -> int -> RolesTypes.objs -> RolesTypes.names -> (int * int) option +val oobj_selected: RolesTypes.oobj -> bool + +val oobj_select: RolesTypes.oobj -> unit + +val oobj_union: RolesTypes.oobjs -> RolesTypes.oobjs -> RolesTypes.oobjs + +val oobj_match: int -> int -> RolesTypes.oobjs -> RolesTypes.nobjs -> (int * int) option + +val string_of_robj: RolesTypes.robj -> string + +val key_of_robj: RolesTypes.robj -> string + +val robj_selected: RolesTypes.robj -> bool + +val robj_select: RolesTypes.robj -> unit + +val robj_expand: RolesTypes.robj -> unit + +val robj_union: RolesTypes.robjs -> RolesTypes.robjs -> RolesTypes.robjs + +val robj_tops: RolesTypes.stage -> RolesTypes.robjs -> RolesTypes.oobjs * RolesTypes.oobjs + +val robj_split: + RolesTypes.stage -> RolesTypes.robjs -> + RolesTypes.robjs * RolesTypes.oobjs * RolesTypes.nobjs 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