]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/bin/roles/rolesUtils.mli
update in binaries for λδ
[helm.git] / matita / matita / contribs / lambdadelta / bin / roles / rolesUtils.mli
index 326b93277693292543c543fdc2d642ec6da7c70a..5d6d49dc76c444c66e45eafa02624fd6fa7d6c05 100644 (file)
@@ -13,38 +13,59 @@ 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) ->
+  (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
 
 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 roles_expand_all: RolesTypes.roles -> unit
+
+val roles_expand: int -> RolesTypes.roles -> unit
+
 val exists_role_deleted: RolesTypes.version -> RolesTypes.roles -> bool
 
-val get_tops: RolesTypes.version -> RolesTypes.roles -> RolesTypes.objs * RolesTypes.objs
+val roles_split:
+  RolesTypes.version -> RolesTypes.roles ->
+  RolesTypes.roles * RolesTypes.objs * RolesTypes.names
 
 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