]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/extlib/hExtlib.mli
Never commit before trying to compile... stupid typo fixed.
[helm.git] / helm / software / components / extlib / hExtlib.mli
index 30a6f145f11e22b0ad371d728182971d80cb5892..5600bfbc7e7c1c9b28c5f71480aad42180e2f2df 100644 (file)
@@ -90,6 +90,7 @@ 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
 
   (** split_nth n l
    * @returns two list, the first contains at least n elements, the second the