File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 11opam-version: "2.0"
22name: "iter"
3- version: "1.3 "
3+ version: "1.4 "
44authors: ["Simon Cruanes" "Gabriel Radanne"]
55maintainer: "simon.cruanes.2007@m4x.org"
66license: "BSD-2-clause"
Original file line number Diff line number Diff 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
129129val 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
135135val fold : ('a -> 'b -> 'a ) -> 'a -> 'b t -> 'a
136136(* * Fold over elements of the iterator, consuming it *)
Original file line number Diff line number Diff 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
9797val 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
103103val fold : f :('a -> 'b -> 'a ) -> init :'a -> 'b t -> 'a
104104(* * Fold over elements of the iterator, consuming it *)
You can’t perform that action at this time.
0 commit comments