]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/extlib/hExtlib.mli
New function map_hash.
[helm.git] / helm / software / components / extlib / hExtlib.mli
index 73450ae11c62f7d860dcc9dface21a796767e132..6316fa11cc2a36497183288188873871284b203b 100644 (file)
@@ -90,6 +90,8 @@ val list_concat: ?sep:'a list -> 'a list list -> 'a list (**String.concat-like*)
 val list_findopt: ('a -> 'b option) -> 'a list -> 'b option
 val flatten_map: ('a -> 'b list) -> 'a list -> 'b list
 val list_last: 'a list -> 'a
+val list_mapi: ('a -> int -> 'b) -> 'a list -> 'b list
+val sharing_map: ('a -> 'a) -> 'a list -> 'a list
 
   (** split_nth n l
    * @returns two list, the first contains at least n elements, the second the
@@ -129,3 +131,5 @@ val estimate_size: 'a -> int
 val is_prefix_of: string -> string -> bool
 val chop_prefix: string -> string -> string
 val touch: string -> unit
+
+val profiling_enabled: bool ref