package gen
Simple and efficient iterators (modules Gen and GenLabels).
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.5.1.tar.gz
sha256=2bc625f816a4c2efe3a781552551862e7eacca26a1000ea3698fa4c08eec2c6a
md5=4fb545ddde26dd084f01210681df4c14
doc/CHANGELOG.html
Changelog
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