]> 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 5600bfbc7e7c1c9b28c5f71480aad42180e2f2df..6316fa11cc2a36497183288188873871284b203b 100644 (file)
@@ -91,6 +91,7 @@ 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