File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11
2+ # 1.8
3+
4+ - add ` Iter.map_while `
5+ - fix bug in ` map_by_2 ` , add tests
6+
27# 1.7
38
49- add let operators in Infix
Original file line number Diff line number Diff line change 11opam-version: "2.0"
22name: "iter"
3- version: "1.7 "
3+ version: "1.8 "
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 @@ -496,7 +496,8 @@ val map_while : ('a -> [ `Yield of 'b | `Return of 'b | `Stop ]) -> 'a t -> 'b t
496496 {- If [f] returns [`Stop], nothing is added to the sequence and the
497497 iteration stops.}
498498 {- If [f] returns [`Return y], [y] is added to the sequence and the
499- iteration stops.}} *)
499+ iteration stops.}}
500+ @since 1.8 *)
500501
501502val fold_while : ('a -> 'b -> 'a * [ `Stop | `Continue ]) -> 'a -> 'b t -> 'a
502503(* * Folds over elements of the iterator, stopping early if the accumulator
You can’t perform that action at this time.
0 commit comments