Simple iterator abstract datatype, intended to iterate efficiently on collections while performing some transformations.
Find a file
Simon Cruanes 0b47a10e9b more functions on Hashtbl;
functor for conversion between Map and Sequence
2013-01-29 14:40:11 +01:00
.gitignore generate documentation 2013-01-28 01:08:15 +01:00
LICENSE Add README and license 2013-01-27 23:45:30 +01:00
Makefile generate documentation 2013-01-28 01:08:15 +01:00
README.md update makefile 2013-01-28 00:21:46 +01:00
sequence.ml more functions on Hashtbl; 2013-01-29 14:40:11 +01:00
sequence.mli more functions on Hashtbl; 2013-01-29 14:40:11 +01:00
sequence.odocl generate documentation 2013-01-28 01:08:15 +01:00
tests.ml more efficient Array.of_seq (only allocates one intermediate list, then reverse the array); 2013-01-29 14:31:21 +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.