package gen
Iterators for OCaml, both restartable and consumable
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.5.3.tar.gz
md5=f242db157222474b9715fef49a1259a4
sha512=192178de106d2ae5f936caead8b21b4b9ec1b8fe35ba56296825900ea15a4ea702caf8824ac34d4478d107b954e22c3dffd81f12d4c08fbd6d9760f49a0deb14
doc/CHANGELOG.html
Changelog
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