aboutsummaryrefslogtreecommitdiff
path: root/lib/cList.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cList.mli')
-rw-r--r--lib/cList.mli4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/cList.mli b/lib/cList.mli
index 01ae839601..aa888679c6 100644
--- a/lib/cList.mli
+++ b/lib/cList.mli
@@ -119,6 +119,10 @@ sig
val remove_first : ('a -> bool) -> 'a list -> 'a list
(** Remove the first element satisfying a predicate, or raise [Not_found] *)
+ val insert : ('a -> 'a -> bool) -> 'a -> 'a list -> 'a list
+ (** Insert at the (first) position so that if the list is ordered wrt to the
+ total order given as argument, the order is preserved *)
+
val for_all2eq : ('a -> 'b -> bool) -> 'a list -> 'b list -> bool
val sep_last : 'a list -> 'a * 'a list