diff --git a/CHANGELOG.md b/CHANGELOG.md index f3396e7..c507c69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.2 + +- Rename the library to Iter. +- Add `from_labeled_iter`. +- Use `raise_notrace` for internal exceptions. + ## 1.1 - perf: use `Set.elements` to convert to list diff --git a/dune-project b/dune-project index de4fc20..fb6a2ca 100644 --- a/dune-project +++ b/dune-project @@ -1 +1,2 @@ (lang dune 1.0) +(name iter) diff --git a/iter.opam b/iter.opam index cd150fe..fc90a21 100644 --- a/iter.opam +++ b/iter.opam @@ -4,7 +4,7 @@ version: "1.2" authors: ["Simon Cruanes" "Gabriel Radanne"] maintainer: "simon.cruanes.2007@m4x.org" license: "BSD-2-clauses" -synopsis: "Simple abstract over `iter` functions, intended to iterate efficiently on collections while performing some transformations" +synopsis: "Simple abstraction over `iter` functions, intended to iterate efficiently on collections while performing some transformations" build: [ ["dune" "build" "@install" "-p" name "-j" jobs] ["dune" "build" "@doc" "-p" name] {with-doc} @@ -24,6 +24,6 @@ homepage: "https://github.com/c-cube/iter/" depopts: [ "base-bigarray" ] -doc: "https://c-cube.github.io/iter/" +doc: "https://c-cube.github.io/iter/doc/${version}" bug-reports: "https://github.com/c-cube/iter/issues" dev-repo: "git+https://github.com/c-cube/iter.git" diff --git a/src/Iter.mli b/src/Iter.mli index 76a9e0d..182460d 100644 --- a/src/Iter.mli +++ b/src/Iter.mli @@ -53,7 +53,7 @@ val from_iter : (('a -> unit) -> unit) -> 'a t val from_labelled_iter : (f:('a -> unit) -> unit) -> 'a t (** Build an iterator from a labelled iter function - @since NEXT_RELEASE *) + @since 1.2 *) val from_fun : (unit -> 'a option) -> 'a t (** Call the function repeatedly until it returns None. This diff --git a/src/IterLabels.mli b/src/IterLabels.mli index 7c3ee54..75690a9 100644 --- a/src/IterLabels.mli +++ b/src/IterLabels.mli @@ -29,7 +29,7 @@ val from_iter : (('a -> unit) -> unit) -> 'a t val from_labelled_iter : (f:('a -> unit) -> unit) -> 'a t (** Build an iterator from a labelled iter function - @since NEXT_RELEASE *) + @since 1.2 *) val from_fun : (unit -> 'a option) -> 'a t (** Call the function repeatedly until it returns None. This