Skip to content

Commit

Permalink
prepare for 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed May 15, 2023
1 parent 37a1605 commit d410860
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@

# 1.7

- add let operators in Infix
- require OCaml >= 4.08
- improve docs about random iterators
- fix: `IO.write_lines` should produce an empty file for an empty iter

# 1.6

- use dune 2.0
Expand Down
2 changes: 1 addition & 1 deletion iter.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
opam-version: "2.0"
name: "iter"
version: "1.6"
version: "1.7"
authors: ["Simon Cruanes" "Gabriel Radanne"]
maintainer: "[email protected]"
license: "BSD-2-clause"
Expand Down
8 changes: 4 additions & 4 deletions src/Iter.mli
Original file line number Diff line number Diff line change
Expand Up @@ -797,19 +797,19 @@ module Infix : sig

val ( let+ ) : 'a t -> ('a -> 'b) -> 'b t
(** Alias for {!map}
@since NEXT_RELEASE *)
@since 1.7 *)

val ( and+ ) : 'a t -> 'b t -> ('a * 'b) t
(** Alias for {!product}
@since NEXT_RELEASE *)
@since 1.7 *)

val ( let* ) : 'a t -> ('a -> 'b t) -> 'b t
(** Alias for {!flat_map}
@since NEXT_RELEASE *)
@since 1.7 *)

val ( and* ) : 'a t -> 'b t -> ('a * 'b) t
(** Alias for {!product}
@since NEXT_RELEASE *)
@since 1.7 *)
end

include module type of Infix
Expand Down

0 comments on commit d410860

Please sign in to comment.