Preparing the release.

This commit is contained in:
Drup 2019-03-08 21:37:45 +01:00
parent 37cfdbef0b
commit 0e27e0f4da
5 changed files with 11 additions and 4 deletions

View file

@ -1,5 +1,11 @@
# Changelog # Changelog
## 1.2
- Rename the library to Iter.
- Add `from_labeled_iter`.
- Use `raise_notrace` for internal exceptions.
## 1.1 ## 1.1
- perf: use `Set.elements` to convert to list - perf: use `Set.elements` to convert to list

View file

@ -1 +1,2 @@
(lang dune 1.0) (lang dune 1.0)
(name iter)

View file

@ -4,7 +4,7 @@ version: "1.2"
authors: ["Simon Cruanes" "Gabriel Radanne"] authors: ["Simon Cruanes" "Gabriel Radanne"]
maintainer: "simon.cruanes.2007@m4x.org" maintainer: "simon.cruanes.2007@m4x.org"
license: "BSD-2-clauses" 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: [ build: [
["dune" "build" "@install" "-p" name "-j" jobs] ["dune" "build" "@install" "-p" name "-j" jobs]
["dune" "build" "@doc" "-p" name] {with-doc} ["dune" "build" "@doc" "-p" name] {with-doc}
@ -24,6 +24,6 @@ homepage: "https://github.com/c-cube/iter/"
depopts: [ depopts: [
"base-bigarray" "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" bug-reports: "https://github.com/c-cube/iter/issues"
dev-repo: "git+https://github.com/c-cube/iter.git" dev-repo: "git+https://github.com/c-cube/iter.git"

View file

@ -53,7 +53,7 @@ val from_iter : (('a -> unit) -> unit) -> 'a t
val from_labelled_iter : (f:('a -> unit) -> unit) -> 'a t val from_labelled_iter : (f:('a -> unit) -> unit) -> 'a t
(** Build an iterator from a labelled iter function (** Build an iterator from a labelled iter function
@since NEXT_RELEASE *) @since 1.2 *)
val from_fun : (unit -> 'a option) -> 'a t val from_fun : (unit -> 'a option) -> 'a t
(** Call the function repeatedly until it returns None. This (** Call the function repeatedly until it returns None. This

View file

@ -29,7 +29,7 @@ val from_iter : (('a -> unit) -> unit) -> 'a t
val from_labelled_iter : (f:('a -> unit) -> unit) -> 'a t val from_labelled_iter : (f:('a -> unit) -> unit) -> 'a t
(** Build an iterator from a labelled iter function (** Build an iterator from a labelled iter function
@since NEXT_RELEASE *) @since 1.2 *)
val from_fun : (unit -> 'a option) -> 'a t val from_fun : (unit -> 'a option) -> 'a t
(** Call the function repeatedly until it returns None. This (** Call the function repeatedly until it returns None. This