prepare for 1.7

This commit is contained in:
Simon Cruanes 2023-05-04 12:47:12 -04:00
parent 37a160579a
commit d410860533
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
3 changed files with 12 additions and 5 deletions

View file

@ -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

View file

@ -1,6 +1,6 @@
opam-version: "2.0"
name: "iter"
version: "1.6"
version: "1.7"
authors: ["Simon Cruanes" "Gabriel Radanne"]
maintainer: "simon.cruanes.2007@m4x.org"
license: "BSD-2-clause"

View file

@ -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