Col is a syntax library for OCaml for a compact and safe definition of IO functions on lists of flat records.
One type definition in a record-like syntax is expanded into a regular type definition of a record type, a tuple type and a class, plus many conversion functions which would have to be written manually otherwise. List of such objects can be loaded from and saved to CSV files with a header describing each field (column). You can edit these files manually, possibly by inserting new columns, and yet these files remain readable by your program.
See http://martin.jambon.free.fr/col-doc.html for an illustration of a program and the result after preprocessing.
(examples examples ...)
Comments (0)
You don't have permission to comment on this page.