Skip to content

Commit 2ab29e6

Browse files
committed
prepare for 1.0
1 parent d2ec69f commit 2ab29e6

File tree

3 files changed

+18
-11
lines changed

3 files changed

+18
-11
lines changed

CHANGELOG.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,34 @@
11
# Changelog
22

3-
# 0.5.3
3+
## 1.0
4+
5+
- add `{of_seq,to_iter,persistent_to_seq,persistent_lazy_to_seq}`
6+
- depend on seq
7+
- manual use of qtest, remove the qtestlib backend (more robust)
8+
9+
## 0.5.3
410

511
- fix npm-package contents to actually include compiled output. (oops!)
612

7-
# 0.5.2
13+
## 0.5.2
814

915
- explicitly support BuckleScript, and publish to npm as bs-gen
1016
- transition to updated dune (jbuilder), and opam 2.0
1117

12-
# 0.5.1
18+
## 0.5.1
1319

1420
- refactor to use match-with-exception from OCaml 4.02
1521
- transition to jbuilder
1622

17-
# 0.5
23+
## 0.5
1824

1925
- fix small problem with safe-string
2026
- move to safe-string, for compatibility with 4.06.0
2127
- add optimize() flag to `_tags`
2228
- rename parameter of `int_range` from `by` to `step`
2329
- add `?(by=1)` to `int_range`
2430

25-
# 0.4
31+
## 0.4
2632

2733
- update `GenLabels` with missing functions
2834
- add `Gen.peek_n`
@@ -36,7 +42,7 @@
3642
* add ocp-indent file, update header, reindent files
3743
* move code to src/
3844

39-
# 0.3
45+
## 0.3
4046

4147
- add `Gen.return`
4248
- fix overflow in `Gen.flat_map`; add regression test
@@ -46,15 +52,15 @@
4652
- add `Gen.IO.{with_lines, write_lines}`
4753
- update benchmarks to use Benchmark.Tree
4854

49-
# 0.2.4
55+
## 0.2.4
5056

5157
- `GenLabels` module
5258
- `fold_while` function
5359
- `fold_map` implementation, deprecating `scan`
5460
- updated doc to make clear that combinators consume their generator argument
5561
- add missing @since; expose infix operators
5662

57-
# 0.2.3
63+
## 0.2.3
5864

5965
- updated .mli to replace "enum" with "gen"
6066
- `Gen.persistent_lazy` now exposes caching parameters related to `GenMList.of_gen_lazy`
@@ -67,7 +73,7 @@
6773
- add `permutations_heap` for array-based permutations; add a corresponding benchmark to compare
6874
- license file
6975

70-
# 0.2.2
76+
## 0.2.2
7177

7278
- do not depend on qtest
7379
- better combinatorics (`permutations`, `power_set`, `combinations`)

gen.opam

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ maintainer: "[email protected]"
33
synopsis: "Iterators for OCaml, both restartable and consumable"
44
author: [ "Simon Cruanes" "ELLIOTTCABLE" ]
55
name: "gen"
6-
version: "0.5.3"
6+
version: "1.0"
7+
license: "BSD-2-Clause"
78
build: [
89
["dune" "build" "@install" "-p" name "-j" jobs]
910
["dune" "runtest" "-p" name "-j" jobs] {with-test}

src/genMList.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ val to_gen : 'a t -> 'a gen
6060

6161
val to_seq : 'a t -> 'a Seq.t
6262
(** Iterate on the mlist using the standard functional iterators.
63-
@since NEXT_RELEASE *)
63+
@since 1.0 *)
6464

6565
val to_clonable : 'a t -> 'a clonable

0 commit comments

Comments
 (0)