Simple iterator abstract datatype, intended to iterate efficiently on collections while performing some transformations.
Find a file
Simon Cruanes 07cc9df645 offer two different functions for combining Map and Seq. Both build
an extended version of Map, with additional conversion functions relative to Sequence.
One can Adapt an already existing Map module, or Make an extended Map directly
2013-02-07 16:07:16 +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 offer two different functions for combining Map and Seq. Both build 2013-02-07 16:07:16 +01:00
sequence.mli offer two different functions for combining Map and Seq. Both build 2013-02-07 16:07:16 +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 offer two different functions for combining Map and Seq. Both build 2013-02-07 16:07:16 +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.