Simple iterator abstract datatype, intended to iterate efficiently on collections while performing some transformations.
Find a file
2013-01-28 01:04:42 +01:00
.gitignore gitignore 2013-01-27 23:18:55 +01:00
LICENSE Add README and license 2013-01-27 23:45:30 +01:00
Makefile makefile 2013-01-27 23:18:18 +01:00
README.md update makefile 2013-01-28 00:21:46 +01:00
sequence.ml for_all, rev, iteri, exists added to sequence 2013-01-28 01:04:42 +01:00
sequence.mli for_all, rev, iteri, exists added to sequence 2013-01-28 01:04:42 +01:00
tests.ml iterate on integers 2013-01-28 00:34:54 +01:00

Sequence

Simple sequence abstract datatype, intented to transfer a finite number of elements from one data structure to another.

Build

You need OCaml, say OCaml 3.12 or OCaml 4.0.

$ make

To see how to use it, check tests.ml. sequence.ml has a few examples of how to convert data structures into sequences, and conversely.

License

Sequence is available under the BSD license.