From 66dec7710b046eeca226e3462b13c0f2d143cf40 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Fri, 7 Jan 2022 16:57:26 -0500 Subject: [PATCH] add missing @since --- src/Iter.mli | 6 ++++-- src/IterLabels.mli | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/Iter.mli b/src/Iter.mli index c21a6ea..00014f6 100644 --- a/src/Iter.mli +++ b/src/Iter.mli @@ -123,12 +123,14 @@ val iteri : (int -> 'a -> unit) -> 'a t -> unit val for_each : 'a t -> ('a -> unit) -> unit (** Consume the iterator, passing all its arguments to the function. [for_each seq f] is the same as [iter f seq], i.e., [iter] with - arguments reversed. *) + arguments reversed. + @since NEXT_RELEASE *) val for_eachi : 'a t -> (int -> 'a -> unit) -> unit (** Iterate on elements and their index in the iterator. [for_eachi seq f] is the same as [iteri f seq], i.e., [iteri] with - arguments reversed. *) + arguments reversed. + @since NEXT_RELEASE *) val fold : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a (** Fold over elements of the iterator, consuming it *) diff --git a/src/IterLabels.mli b/src/IterLabels.mli index 57667a7..fe337d4 100644 --- a/src/IterLabels.mli +++ b/src/IterLabels.mli @@ -91,12 +91,14 @@ val iteri : f:(int -> 'a -> unit) -> 'a t -> unit val for_each : seq:'a t -> ('a -> unit) -> unit (** Consume the iterator, passing all its arguments to the function. [for_each seq f] is the same as [iter f seq], i.e., [iter] with - arguments reversed. *) + arguments reversed. + @since NEXT_RELEASE *) val for_eachi : seq:'a t -> (int -> 'a -> unit) -> unit (** Iterate on elements and their index in the iterator. [for_eachi seq f] is the same as [iteri f seq], i.e., [iteri] with - arguments reversed. *) + arguments reversed. + @since NEXT_RELEASE *) val fold : f:('a -> 'b -> 'a) -> init:'a -> 'b t -> 'a (** Fold over elements of the iterator, consuming it *)