package gen
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
md5=fa8066511b693815fe659fd022f4c6bc
sha512=71a4b5c3666a7c11935398a78feea7383f61d2c549dfb96e324d40783ffa87b5ec492c5ec468803aabfb9b48e7d0ebaa30b24d2b974540afc7cca5feea3121c1
Description
README
Gen 
Iterators for OCaml, both restartable and consumable. The implementation keeps a good balance between simplicity and performance.
The library is extensively tested using qtest. If you find a bug, please report!
The documentation can be found here the main module is Gen and should suffice for 95% of use cases.
Native install
Installation in a native OCaml project, via opam:
$ opam install genor, manually, by building the library and running make install. Opam is recommended, for it keeps the library up-to-date.
BuckleScript install
Installation in JavaScript, via BuckleScript, in an npm project:
Install this package:
$ npm install bs-genManually add
bs-gento yourbsconfig.json'sbs-dependencies:"bs-dependencies": [ ... "bs-gen" ],
Use
You can either build and install the library (see "Build"), or just copy files to your own project. The last solution has the benefits that you don't have additional dependencies nor build complications (and it may enable more inlining).
If you have comments, requests, or bugfixes, please share them! :-)
Build
There are no dependencies except for dune for building. This should work with OCaml>=4.02
$ makeTo build and run tests (requires oUnit and qtest):
$ opam install oUnit qtest
$ make testLicense
This code is free, under the BSD license.
Optional Dependencies
None
Used by (12)
-
beluga
>= "1.0" -
catala
= "0.3.0" -
choice
>= "0.4" - colibri2
- containers
- containers-data
- dolmen_loop
- electrod
- oseq
- primes
- sedlex
-
tyre
>= "1.0"
Conflicts
None
Build status
Results of building gen with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 1.1 (this version) | good | good | good | good | good |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure