mirror of
https://github.com/c-cube/iter.git
synced 2025-12-06 03:05:29 -05:00
Simple iterator abstract datatype, intended to iterate efficiently on collections while performing some transformations.
any type, without building the intermediate Sexpr.t. GADT are now necessary, to keep the Sexpr.parse function type-safe |
||
|---|---|---|
| opam | ||
| .gitignore | ||
| LICENSE | ||
| Makefile | ||
| META | ||
| README.md | ||
| sequence.ml | ||
| sequence.mli | ||
| sequence.odocl | ||
| sexpr.ml | ||
| sexpr.mli | ||
| tests.ml | ||
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.