X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbin%2Froles%2FrolesUtils.mli;h=6cfe90d85fc009b0b45497a171c321dd449e481a;hb=277fc8ff21ce3dbd6893b1994c55cf5c06a98355;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..6cfe90d85 100644 --- a/matita/matita/contribs/lambdadelta/bin/roles/rolesUtils.mli +++ b/matita/matita/contribs/lambdadelta/bin/roles/rolesUtils.mli @@ -11,31 +11,75 @@ 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_apply: (int -> 'a -> bool) -> ('a -> unit) -> int -> 'a list -> bool -val list_nth: int -> ('a * 'b) list -> 'b +val list_nth: ('a -> unit) -> int -> 'a list -> unit -val list_toggle: int -> (bool * 'b) list -> (bool * 'b) list +val list_split: ('a -> bool) -> ('a -> unit) -> 'a list -> 'a list * 'a list -val list_toggle_all: (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 string_of_version: RolesTypes.version -> string +val string_of_stage: RolesTypes.stage -> string -val version_of_string: string -> RolesTypes.version +val stage_of_string: string -> RolesTypes.stage -val string_of_name: RolesTypes.name -> string +val stage_compare: RolesTypes.stage -> RolesTypes.stage -> int -val name_of_string: string -> RolesTypes.name +val string_of_nobj: RolesTypes.nobj -> string -val compare_names: RolesTypes.name -> RolesTypes.name -> int +val nobj_of_string: string -> RolesTypes.nobj -val string_of_obj: RolesTypes.obj -> string +val key_of_nobj: RolesTypes.nobj -> string -val obj_of_string: string -> RolesTypes.obj +val nobj_selected: RolesTypes.nobj -> bool + +val nobj_select: RolesTypes.nobj -> unit + +val nobj_union: RolesTypes.nobjs -> RolesTypes.nobjs -> RolesTypes.nobjs + +val string_of_oobj: RolesTypes.oobj -> string + +val oobj_of_string: string -> RolesTypes.oobj + +val key_of_oobj: RolesTypes.oobj -> string + +val oobj_selected: RolesTypes.oobj -> bool + +val oobj_select: RolesTypes.oobj -> unit + +val oobj_union: RolesTypes.oobjs -> RolesTypes.oobjs -> RolesTypes.oobjs + +val oobj_of_nobj: RolesTypes.stage -> RolesTypes.nobj -> RolesTypes.oobj + +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 pointer_visit: (RolesTypes.stage -> unit) -> RolesTypes.stage -> RolesTypes.pointer -> unit + val string_of_error: RolesTypes.error -> string