@@ -144,43 +144,43 @@ val find_idx : f:('a -> bool) -> 'a t -> (int * 'a) option
144144val max : cmp :('a -> 'a -> int ) -> 'a t -> 'a option
145145(* * [max ~cmp a] returns [None] if [a] is empty, otherwise, returns [Some e] where [e]
146146 is a maximum element in [a] with respect to [cmp].
147- @since NEXT_RELEASE *)
147+ @since 3.12 *)
148148
149149val max_exn : cmp :('a -> 'a -> int ) -> 'a t -> 'a
150150(* * [max_exn ~cmp a] is like {!max}, but
151151 @raise Invalid_argument if [a] is empty.
152- @since NEXT_RELEASE *)
152+ @since 3.12 *)
153153
154154
155155val argmax : cmp :('a -> 'a -> int ) -> 'a t -> int option
156156(* * [argmax ~cmp a] returns [None] if [a] is empty, otherwise, returns [Some i] where [i]
157157 is the index of a maximum element in [a] with respect to [cmp].
158- @since NEXT_RELEASE *)
158+ @since 3.12 *)
159159
160160val argmax_exn : cmp :('a -> 'a -> int ) -> 'a t -> int
161161(* * [argmax_exn ~cmp a] is like {!argmax}, but
162162 @raise Invalid_argument if [a] is empty.
163- @since NEXT_RELEASE *)
163+ @since 3.12 *)
164164
165165val min : cmp :('a -> 'a -> int ) -> 'a t -> 'a option
166166(* * [min ~cmp a] returns [None] if [a] is empty, otherwise, returns [Some e] where [e]
167167 is a minimum element in [a] with respect to [cmp].
168- @since NEXT_RELEASE *)
168+ @since 3.12 *)
169169
170170val min_exn : cmp :('a -> 'a -> int ) -> 'a t -> 'a
171171(* * [min_exn ~cmp a] is like {!min}, but
172172 @raise Invalid_argument if [a] is empty.
173- @since NEXT_RELEASE *)
173+ @since 3.12 *)
174174
175175val argmin : cmp :('a -> 'a -> int ) -> 'a t -> int option
176176(* * [argmin ~cmp a] returns [None] if [a] is empty, otherwise, returns [Some i] where [i]
177177 is the index of a minimum element in [a] with respect to [cmp].
178- @since NEXT_RELEASE *)
178+ @since 3.12 *)
179179
180180val argmin_exn : cmp :('a -> 'a -> int ) -> 'a t -> int
181181(* * [argmin_exn ~cmp a] is like {!argmin}, but
182182 @raise Invalid_argument if [a] is empty.
183- @since NEXT_RELEASE *)
183+ @since 3.12 *)
184184
185185val lookup : cmp :('a ord [@ keep_label]) -> key :'a -> 'a t -> int option
186186(* * [lookup ~cmp ~key a] lookups the index of some key [key] in a sorted array [a].
0 commit comments