CCArray: add @since

This commit is contained in:
Fardale 2020-04-28 22:26:42 +02:00
parent 4267210da9
commit 789eee9d53
2 changed files with 6 additions and 2 deletions

View file

@ -133,7 +133,9 @@ val sort_ranking : ('a -> 'a -> int) -> 'a t -> int array
@since 1.0 *) @since 1.0 *)
val mem : ?eq:('a -> 'a -> bool) -> 'a -> 'a t -> bool val mem : ?eq:('a -> 'a -> bool) -> 'a -> 'a t -> bool
(** [mem ~eq x a] return true if x is present in [a]. Linear time. *) (** [mem ~eq x a] return true if x is present in [a]. Linear time.
@since NEXT_RELEASE
*)
val find_map : ('a -> 'b option) -> 'a t -> 'b option val find_map : ('a -> 'b option) -> 'a t -> 'b option
(** [find_map f a] returns [Some y] if there is an element [x] such (** [find_map f a] returns [Some y] if there is an element [x] such

View file

@ -132,7 +132,9 @@ val sort_ranking : f:('a -> 'a -> int) -> 'a t -> int array
@since 1.0 *) @since 1.0 *)
val mem : ?eq:('a -> 'a -> bool) -> 'a -> 'a t -> bool val mem : ?eq:('a -> 'a -> bool) -> 'a -> 'a t -> bool
(** [mem ~eq x a] return true if x is present in [a]. Linear time. *) (** [mem ~eq x a] return true if x is present in [a]. Linear time.
@since NEXT_RELEASE
*)
val find_map : f:('a -> 'b option) -> 'a t -> 'b option val find_map : f:('a -> 'b option) -> 'a t -> 'b option
(** [find_map ~f a] returns [Some y] if there is an element [x] such (** [find_map ~f a] returns [Some y] if there is an element [x] such