Skip to content

Commit 65ab937

Browse files
committed
prepare for 1.4
1 parent 8be2428 commit 65ab937

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11

2+
# 1.4
3+
4+
- fix dune files for dune 3
5+
- add `for_each` and `for_eachi`
6+
27
# 1.3
38

49
- use `inline` annotations

iter.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
opam-version: "2.0"
22
name: "iter"
3-
version: "1.3"
3+
version: "1.4"
44
authors: ["Simon Cruanes" "Gabriel Radanne"]
55
maintainer: "simon.cruanes.2007@m4x.org"
66
license: "BSD-2-clause"

src/Iter.mli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,13 @@ val for_each : 'a t -> ('a -> unit) -> unit
124124
(** Consume the iterator, passing all its arguments to the function.
125125
[for_each seq f] is the same as [iter f seq], i.e., [iter] with
126126
arguments reversed.
127-
@since NEXT_RELEASE *)
127+
@since 1.4 *)
128128

129129
val for_eachi : 'a t -> (int -> 'a -> unit) -> unit
130130
(** Iterate on elements and their index in the iterator.
131131
[for_eachi seq f] is the same as [iteri f seq], i.e., [iteri] with
132132
arguments reversed.
133-
@since NEXT_RELEASE *)
133+
@since 1.4 *)
134134

135135
val fold : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a
136136
(** Fold over elements of the iterator, consuming it *)

src/IterLabels.mli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ val for_each : seq:'a t -> ('a -> unit) -> unit
9292
(** Consume the iterator, passing all its arguments to the function.
9393
[for_each seq f] is the same as [iter f seq], i.e., [iter] with
9494
arguments reversed.
95-
@since NEXT_RELEASE *)
95+
@since 1.4 *)
9696

9797
val for_eachi : seq:'a t -> (int -> 'a -> unit) -> unit
9898
(** Iterate on elements and their index in the iterator.
9999
[for_eachi seq f] is the same as [iteri f seq], i.e., [iteri] with
100100
arguments reversed.
101-
@since NEXT_RELEASE *)
101+
@since 1.4 *)
102102

103103
val fold : f:('a -> 'b -> 'a) -> init:'a -> 'b t -> 'a
104104
(** Fold over elements of the iterator, consuming it *)

0 commit comments

Comments
 (0)