fix: add since tag for Array.map_inplace

This commit is contained in:
Fardale 2022-05-12 11:19:47 +02:00
parent 8a71b1dcaa
commit 70703b3512
2 changed files with 4 additions and 2 deletions

View file

@ -59,7 +59,8 @@ val get_safe : 'a t -> int -> 'a option
@since 0.18 *)
val map_inplace : ('a -> 'a) -> 'a t -> unit
(** [map_inplace f a] replace all elements of [a] by its image by [f]. *)
(** [map_inplace f a] replace all elements of [a] by its image by [f].
@since NEXT_RELEASE *)
val fold : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a
(** [fold f init a] computes [f ((f (f init a.(0)) a.(1))) a.(n-1)],

View file

@ -60,7 +60,8 @@ val get_safe : 'a t -> int -> 'a option
@since 0.18 *)
val map_inplace : f:('a -> 'a) -> 'a t -> unit
(** [map_inplace ~f a] replace all elements of [a] by its image by [f]. *)
(** [map_inplace ~f a] replace all elements of [a] by its image by [f].
@since NEXT_RELEASE *)
val fold : f:('a -> 'b -> 'a) -> init:'a -> 'b t -> 'a
(** [fold ~f ~init a] computes [f ((f (f init a.(0)) a.(1))) a.(n-1)],