@@ -78,7 +78,7 @@ val fold_flat_map : ('acc -> 'a -> 'acc * 'b list) -> 'acc -> 'a list -> 'acc *
78
78
79
79
val count : ('a -> bool ) -> 'a list -> int
80
80
(* * [count f l] counts how much element of [l] comply with the function [f].
81
- @since NEXT_RELEASE *)
81
+ @since 1.5 *)
82
82
83
83
val init : int -> (int -> 'a ) -> 'a t
84
84
(* * Similar to {!Array.init}
@@ -103,11 +103,11 @@ val compare : ('a -> 'a -> int) -> 'a t -> 'a t -> int
103
103
104
104
val compare_lengths : 'a t -> 'b t -> int
105
105
(* * equivalent to [compare (length l1) (length l2)] but more efficient.
106
- @since NEXT_RELEASE *)
106
+ @since 1.5 *)
107
107
108
108
val compare_length_with : 'a t -> int -> int
109
109
(* * equivalent to [compare (length l) x] but more efficient.
110
- @since NEXT_RELEASE *)
110
+ @since 1.5 *)
111
111
112
112
val equal : ('a -> 'a -> bool ) -> 'a t -> 'a t -> bool
113
113
@@ -239,7 +239,7 @@ val find_pred : ('a -> bool) -> 'a t -> 'a option
239
239
240
240
val find_opt : ('a -> bool ) -> 'a t -> 'a option
241
241
(* * Safe version of {!find}
242
- @since NEXT_RELEASE *)
242
+ @since 1.5 *)
243
243
244
244
val find_pred_exn : ('a -> bool ) -> 'a t -> 'a
245
245
(* * Unsafe version of {!find_pred}
@@ -346,7 +346,7 @@ val get_at_idx : int -> 'a t -> 'a option
346
346
val nth_opt : 'a t -> int -> 'a option
347
347
(* * Safe version of {!nth}.
348
348
@raise Invalid_argument if the int is negative.
349
- @since NEXT_RELEASE *)
349
+ @since 1.5 *)
350
350
351
351
val get_at_idx_exn : int -> 'a t -> 'a
352
352
(* * Get the i-th element, or
@@ -466,11 +466,11 @@ end
466
466
467
467
val assoc_opt : 'a -> ('a * 'b ) t -> 'b option
468
468
(* * Safe version of {!assoc}
469
- @since NEXT_RELEASE *)
469
+ @since 1.5 *)
470
470
471
471
val assq_opt : 'a -> ('a * 'b ) t -> 'b option
472
472
(* * Safe version of {!assq}
473
- @since NEXT_RELEASE *)
473
+ @since 1.5 *)
474
474
475
475
(* * {2 References on Lists}
476
476
@since 0.3.3 *)
0 commit comments