package gen
Iterators for OCaml, both restartable and consumable
Install
dune-project
Dependency
Authors
Maintainers
Sources
v1.1.tar.gz
md5=fa8066511b693815fe659fd022f4c6bc
sha512=71a4b5c3666a7c11935398a78feea7383f61d2c549dfb96e324d40783ffa87b5ec492c5ec468803aabfb9b48e7d0ebaa30b24d2b974540afc7cca5feea3121c1
doc/CHANGELOG.html
Changelog
1.1
- remove deps on bytes and dune-configurator (@nojb)
1.0
- add
{of_seq,to_iter,persistent_to_seq,persistent_lazy_to_seq} - depend on seq
- manual use of qtest, remove the qtestlib backend (more robust)
0.5.3
- fix npm-package contents to actually include compiled output. (oops!)
0.5.2
- explicitly support BuckleScript, and publish to npm as bs-gen
- transition to updated dune (jbuilder), and opam 2.0
0.5.1
- refactor to use match-with-exception from OCaml 4.02
- transition to jbuilder
0.5
- fix small problem with safe-string
- move to safe-string, for compatibility with 4.06.0
- add optimize() flag to
_tags - rename parameter of
int_rangefrombytostep - add
?(by=1)toint_range
0.4
- update
GenLabelswith missing functions - add
Gen.peek_n - add
Gen.peek - add first draft of
GenM, an overlay for iterating over monadic values. this module is experimental as of now. cleanup:
- more tests
- move all tests to gen.ml using qtest
- merge benchmarks into a single file
- add ocp-indent file, update header, reindent files
- move code to src/
0.3
- add
Gen.return - fix overflow in
Gen.flat_map; add regression test - opam: depend on ocamlbuild
- add functions
Gen.{lines,unlines} - add
Gen.Restart.of_genas a convenient alias topersistent_lazy - add
Gen.IO.{with_lines, write_lines} - update benchmarks to use Benchmark.Tree
0.2.4
GenLabelsmodulefold_whilefunctionfold_mapimplementation, deprecatingscan- updated doc to make clear that combinators consume their generator argument
- add missing @since; expose infix operators
0.2.3
- updated .mli to replace "enum" with "gen"
Gen.persistent_lazynow exposes caching parameters related toGenMList.of_gen_lazy- give control over buffering in
GenMList.of_gen_lazy - move some code to new modules GenClone and GenMList
- add lwt and async style infix map operators
- Gen.IO
to_string,of_string,to_buffer- opam file
- add
permutations_heapfor array-based permutations; add a corresponding benchmark to compare - license file
0.2.2
- do not depend on qtest
- better combinatorics (
permutations,power_set,combinations) -Gen.{permutations,power_set,combinations} Gen.unfold_scan- put Gen.S into a new module,
Gen_intf Gen.persistent_lazyimplemented- .merlin files
0.2.1
- added many tests using Qtest; fixed 2 bugs
- simpler and more efficient unrolled list
- unrolled list for Gen.persistent (much better on big generators)
0.2
- changed
camlCasetothis_case take_nthcombinator
note: git log --no-merges previous_version..HEAD --pretty=%s