@@ -32,23 +32,23 @@ val singleton : 'a -> 'a t
3232val init : int -> (int -> 'a ) -> 'a t
3333(* * [init n f] corresponds to the sequence [f 0; f 1; ...; f (n-1)].
3434 @raise Invalid_argument if n is negative.
35- @since NEXT_RELEASE *)
35+ @since 3.10 *)
3636
3737val repeat : ?n : int -> 'a -> 'a t
3838(* * [repeat ~n x] repeats [x] [n] times then stops. If [n] is omitted,
3939 then [x] is repeated forever. *)
4040
4141val forever : (unit -> 'a ) -> 'a t
4242(* * [forever f] corresponds to the infinit sequence containing all the [f ()].
43- @since NEXT_RELEASE *)
43+ @since 3.10 *)
4444
4545val cycle : 'a t -> 'a t
4646(* * Cycle through the iterator infinitely. The iterator shouldn't be empty. *)
4747
4848val iterate : ('a -> 'a ) -> 'a -> 'a t
4949(* * [iterate f a] corresponds to the infinit sequence containing [a], [f a], [f (f a)],
5050 ...]
51- @since NEXT_RELEASE *)
51+ @since 3.10 *)
5252
5353val unfold : ('b -> ('a * 'b ) option ) -> 'b -> 'a t
5454(* * [unfold f acc] calls [f acc] and:
@@ -74,7 +74,7 @@ val tail_exn : 'a t -> 'a t
7474
7575val uncons : 'a t -> ('a * 'a t ) option
7676(* * [uncons xs] return [None] if [xs] is empty other
77- @since NEXT_RELEASE *)
77+ @since 3.10 *)
7878
7979val equal : 'a equal -> 'a t equal
8080(* * Equality step by step. Eager. *)
@@ -92,11 +92,11 @@ val foldi : ('a -> int -> 'b -> 'a) -> 'a -> 'b t -> 'a
9292(* * [fold_lefti f init xs] applies [f acc i x] where [acc] is the result of the previous
9393 computation or [init] for the first one, [i] is the index in the sequence (starts at
9494 0) and [x] is the element of the sequence.
95- @since NEXT_RELEASE *)
95+ @since 3.10 *)
9696
9797val fold_lefti : ('a -> int -> 'b -> 'a ) -> 'a -> 'b t -> 'a
9898(* * Alias of {!foldi}.
99- @since NEXT_RELEASE *)
99+ @since 3.10 *)
100100
101101val iter : ('a -> unit ) -> 'a t -> unit
102102
@@ -127,7 +127,7 @@ val product_with : ('a -> 'b -> 'c) -> 'a t -> 'b t -> 'c t
127127
128128val map_product : ('a -> 'b -> 'c ) -> 'a t -> 'b t -> 'c t
129129(* * Alias of {!product_with}.
130- @since NEXT_RELEASE *)
130+ @since 3.10 *)
131131
132132val product : 'a t -> 'b t -> ('a * 'b ) t
133133(* * Specialization of {!product_with} producing tuples. *)
@@ -159,29 +159,29 @@ val exists : ('a -> bool) -> 'a t -> bool
159159val find : ('a -> bool ) -> 'a t -> 'a option
160160(* * [find p [a1; ...; an]] return [Some ai] for the first [ai] satisfying the predicate
161161 [p] and return [None] otherwise.
162- @since NEXT_RELEASE *)
162+ @since 3.10 *)
163163
164164val find_map : ('a -> 'b option ) -> 'a t -> 'b option
165165(* * [find f [a1; ...; an]] return [Some (f ai)] for the first [ai] such that
166166 [f ai = Some _] and return [None] otherwise.
167- @since NEXT_RELEASE *)
167+ @since 3.10 *)
168168
169169val scan : ('a -> 'b -> 'a ) -> 'a -> 'b t -> 'a t
170170(* * [scan f init xs] is the sequence containing the intermediate result of
171171 [fold f init xs].
172- @since NEXT_RELEASE *)
172+ @since 3.10 *)
173173
174174val flat_map : ('a -> 'b t ) -> 'a t -> 'b t
175175val concat_map : ('a -> 'b t ) -> 'a t -> 'b t
176176(* * Aliass of {!flat_map}
177- @since NEXT_RELEASE *)
177+ @since 3.10 *)
178178
179179val filter_map : ('a -> 'b option ) -> 'a t -> 'b t
180180
181181val flatten : 'a t t -> 'a t
182182val concat : 'a t t -> 'a t
183183(* * Alias of {!flatten}.
184- @since NEXT_RELEASE *)
184+ @since 3.10 *)
185185
186186val range : int -> int -> int t
187187
@@ -199,7 +199,7 @@ val fold2 : ('acc -> 'a -> 'b -> 'acc) -> 'acc -> 'a t -> 'b t -> 'acc
199199
200200val fold_left2 : ('acc -> 'a -> 'b -> 'acc ) -> 'acc -> 'a t -> 'b t -> 'acc
201201(* * Alias for {!fold2}.
202- @since NEXT_RELEASE *)
202+ @since 3.10 *)
203203
204204val map2 : ('a -> 'b -> 'c ) -> 'a t -> 'b t -> 'c t
205205(* * Map on two collections at once. Stop as soon as one of the
@@ -216,7 +216,7 @@ val merge : 'a ord -> 'a t -> 'a t -> 'a t
216216
217217val sorted_merge : 'a ord -> 'a t -> 'a t -> 'a t
218218(* * Alias of {!merge}.
219- @since NEXT_RELEASE *)
219+ @since 3.10 *)
220220
221221val zip : 'a t -> 'b t -> ('a * 'b ) t
222222(* * Combine elements pairwise. Stop as soon as one of the lists stops. *)
@@ -226,7 +226,7 @@ val unzip : ('a * 'b) t -> 'a t * 'b t
226226
227227val split : ('a * 'b ) t -> 'a t * 'b t
228228(* * Alias of {!unzip}.
229- @since NEXT_RELEASE *)
229+ @since 3.10 *)
230230
231231val zip_i : 'a t -> (int * 'a ) t
232232(* * [zip_i seq] zips the index of each element with the element itself.
0 commit comments