Skip to content

Commit 688689b

Browse files
committed
prepare for 1.5
1 parent a3b3426 commit 688689b

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

CHANGELOG.md

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

2+
# 1.5
3+
4+
- use Seq
5+
- remove Stream entirely to be ready for OCaml 5.0
6+
- add `of_gen_once`
7+
28
# 1.4
39

410
- fix dune files for dune 3

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.4"
3+
version: "1.5"
44
authors: ["Simon Cruanes" "Gabriel Radanne"]
55
maintainer: "simon.cruanes.2007@m4x.org"
66
license: "BSD-2-clause"

src/Iter.mli

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -569,12 +569,12 @@ val of_opt : 'a option -> 'a t
569569

570570
val of_seq : 'a Seq.t -> 'a t
571571
(** Iterator of elements of a {!Seq.t}.
572-
@since NEXT_RELEASE *)
572+
@since 1.5 *)
573573

574574
val to_seq_persistent : 'a t -> 'a Seq.t
575575
(** Convert to a {!Seq}. Linear in memory and time (a copy is made in memory).
576576
This does not work on infinite iterators.
577-
@since NEXT_RELEASE *)
577+
@since 1.5 *)
578578

579579
val to_stack : 'a Stack.t -> 'a t -> unit
580580
(** Push elements of the iterator on the stack *)
@@ -658,7 +658,7 @@ val of_gen : 'a gen -> 'a t
658658
val of_gen_once : 'a gen -> 'a t
659659
(** One shot iterator using this generator.
660660
It must not be traversed twice.
661-
@since NEXT_RELEASE *)
661+
@since 1.5 *)
662662

663663
val to_gen : 'a t -> 'a gen
664664
(** Make the iterator persistent (O(n)) and then iterate on it. Eager. *)

src/IterLabels.mli

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -533,12 +533,12 @@ val of_opt : 'a option -> 'a t
533533

534534
val of_seq : 'a Seq.t -> 'a t
535535
(** Iterator of elements of a {!Seq.t}.
536-
@since NEXT_RELEASE *)
536+
@since 1.5 *)
537537

538538
val to_seq_persistent : 'a t -> 'a Seq.t
539539
(** Convert to a {!Seq}. Linear in memory and time (a copy is made in memory).
540540
This does not work on infinite iterators.
541-
@since NEXT_RELEASE *)
541+
@since 1.5 *)
542542

543543
val to_stack : 'a Stack.t -> 'a t -> unit
544544
(** Push elements of the iterator on the stack *)
@@ -623,7 +623,7 @@ val of_gen : 'a gen -> 'a t
623623
val of_gen_once : 'a gen -> 'a t
624624
(** One shot iterator using this generator.
625625
It must not be traversed twice.
626-
@since NEXT_RELEASE *)
626+
@since 1.5 *)
627627

628628
val to_gen : 'a t -> 'a gen
629629
(** Make the iterator persistent (O(n)) and then iterate on it. Eager. *)

0 commit comments

Comments
 (0)