@@ -144,43 +144,43 @@ val find_idx : f:('a -> bool) -> 'a t -> (int * 'a) option
144
144
val max : cmp :('a -> 'a -> int ) -> 'a t -> 'a option
145
145
(* * [max ~cmp a] returns [None] if [a] is empty, otherwise, returns [Some e] where [e]
146
146
is a maximum element in [a] with respect to [cmp].
147
- @since NEXT_RELEASE *)
147
+ @since 3.12 *)
148
148
149
149
val max_exn : cmp :('a -> 'a -> int ) -> 'a t -> 'a
150
150
(* * [max_exn ~cmp a] is like {!max}, but
151
151
@raise Invalid_argument if [a] is empty.
152
- @since NEXT_RELEASE *)
152
+ @since 3.12 *)
153
153
154
154
155
155
val argmax : cmp :('a -> 'a -> int ) -> 'a t -> int option
156
156
(* * [argmax ~cmp a] returns [None] if [a] is empty, otherwise, returns [Some i] where [i]
157
157
is the index of a maximum element in [a] with respect to [cmp].
158
- @since NEXT_RELEASE *)
158
+ @since 3.12 *)
159
159
160
160
val argmax_exn : cmp :('a -> 'a -> int ) -> 'a t -> int
161
161
(* * [argmax_exn ~cmp a] is like {!argmax}, but
162
162
@raise Invalid_argument if [a] is empty.
163
- @since NEXT_RELEASE *)
163
+ @since 3.12 *)
164
164
165
165
val min : cmp :('a -> 'a -> int ) -> 'a t -> 'a option
166
166
(* * [min ~cmp a] returns [None] if [a] is empty, otherwise, returns [Some e] where [e]
167
167
is a minimum element in [a] with respect to [cmp].
168
- @since NEXT_RELEASE *)
168
+ @since 3.12 *)
169
169
170
170
val min_exn : cmp :('a -> 'a -> int ) -> 'a t -> 'a
171
171
(* * [min_exn ~cmp a] is like {!min}, but
172
172
@raise Invalid_argument if [a] is empty.
173
- @since NEXT_RELEASE *)
173
+ @since 3.12 *)
174
174
175
175
val argmin : cmp :('a -> 'a -> int ) -> 'a t -> int option
176
176
(* * [argmin ~cmp a] returns [None] if [a] is empty, otherwise, returns [Some i] where [i]
177
177
is the index of a minimum element in [a] with respect to [cmp].
178
- @since NEXT_RELEASE *)
178
+ @since 3.12 *)
179
179
180
180
val argmin_exn : cmp :('a -> 'a -> int ) -> 'a t -> int
181
181
(* * [argmin_exn ~cmp a] is like {!argmin}, but
182
182
@raise Invalid_argument if [a] is empty.
183
- @since NEXT_RELEASE *)
183
+ @since 3.12 *)
184
184
185
185
val lookup : cmp :('a ord [@ keep_label]) -> key :'a -> 'a t -> int option
186
186
(* * [lookup ~cmp ~key a] lookups the index of some key [key] in a sorted array [a].
0 commit comments