Simple iterator abstract datatype, intended to iterate efficiently on collections while performing some transformations.
Find a file
Simon Cruanes 2bf5b628ab removed type-conversion submodules, now replaced by simple values.
For instance, Sequence.List.of_seq is now Sequence.to_list.
Conversion with Set now uses first-class modules to avoir functor hell
(not done on Map because of limitations in the type systems)
2013-02-06 14:53:33 +01:00
opam add files for opam 2013-01-29 15:45:29 +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 export, install and describe the S-expr module 2013-02-05 00:00:44 +01:00
META export, install and describe the S-expr module 2013-02-05 00:00:44 +01:00
README.md export, install and describe the S-expr module 2013-02-05 00:00:44 +01:00
sequence.ml removed type-conversion submodules, now replaced by simple values. 2013-02-06 14:53:33 +01:00
sequence.mli removed type-conversion submodules, now replaced by simple values. 2013-02-06 14:53:33 +01:00
sequence.odocl generate documentation 2013-01-28 01:08:15 +01:00
sexpr.ml better pretty printing of S-exprs 2013-02-05 09:57:27 +01:00
sexpr.mli S-expression module, with a strong accent on 2013-02-04 23:30:31 +01:00
tests.ml more tests with sexprs 2013-02-05 09:57:42 +01:00

Sequence

Simple sequence abstract datatype, intented to transfer a finite number of elements from one data structure to another. It also provides a tiny library for S-expressions, convertible to streams of tokens, and conversely.

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. The module sexpr.mli exposes the interface of the S-expression library.

License

Sequence is available under the BSD license.