A lightweight, modular standard library extension, string library, and interfaces to various libraries (unix, threads, etc.) BSD license.
Find a file
Simon Cruanes 4793a6acde Squashed 'gen/' content from commit 5a46e03
git-subtree-dir: gen
git-subtree-split: 5a46e03b308dc0f30da2017b9fa6e3be7130b1eb
2014-12-02 02:02:52 +01:00
bench Squashed 'gen/' content from commit 5a46e03 2014-12-02 02:02:52 +01:00
tests Squashed 'gen/' content from commit 5a46e03 2014-12-02 02:02:52 +01:00
.gitignore Squashed 'gen/' content from commit 5a46e03 2014-12-02 02:02:52 +01:00
.merlin Squashed 'gen/' content from commit 5a46e03 2014-12-02 02:02:52 +01:00
_oasis Squashed 'gen/' content from commit 5a46e03 2014-12-02 02:02:52 +01:00
_tags Squashed 'gen/' content from commit 5a46e03 2014-12-02 02:02:52 +01:00
configure Squashed 'gen/' content from commit 5a46e03 2014-12-02 02:02:52 +01:00
gen.ml Squashed 'gen/' content from commit 5a46e03 2014-12-02 02:02:52 +01:00
gen.mldylib Squashed 'gen/' content from commit 5a46e03 2014-12-02 02:02:52 +01:00
gen.mli Squashed 'gen/' content from commit 5a46e03 2014-12-02 02:02:52 +01:00
gen.mllib Squashed 'gen/' content from commit 5a46e03 2014-12-02 02:02:52 +01:00
gen.odocl Squashed 'gen/' content from commit 5a46e03 2014-12-02 02:02:52 +01:00
gen_intf.ml Squashed 'gen/' content from commit 5a46e03 2014-12-02 02:02:52 +01:00
Makefile Squashed 'gen/' content from commit 5a46e03 2014-12-02 02:02:52 +01:00
META Squashed 'gen/' content from commit 5a46e03 2014-12-02 02:02:52 +01:00
myocamlbuild.ml Squashed 'gen/' content from commit 5a46e03 2014-12-02 02:02:52 +01:00
README.md Squashed 'gen/' content from commit 5a46e03 2014-12-02 02:02:52 +01:00
setup.ml Squashed 'gen/' content from commit 5a46e03 2014-12-02 02:02:52 +01:00

Gen

Iterators for OCaml, both restartable and consumable. Performances should be good, yet the code is simple and straightforward.

The documentation can be found here

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). I therefore recommand it for its simplicity.

If you have comments, requests, or bugfixes, please share them! :-)

Build

There are no dependencies. This should work with OCaml>=3.12.

$ make

To build and run tests (requires oUnit):

$ opam install oUnit
$ make tests
$ ./tests.native

License

This code is free, under the BSD license.