Declarative CSV codecs
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add queries/updates/introspection to codec packages + fmt fixes

+6 -4
+6 -4
lib/csvt.mli
··· 6 6 (** Declarative CSV codecs. 7 7 8 8 Csvt defines a generalized algebraic datatype whose values denote 9 - bidirectional maps between CSV data and the OCaml values of your choice. 10 - Field-level and row-level codecs share a single type {!t}. Row codecs are 11 - built declaratively using constructors and field accessors with the {!Row} 12 - builder. See 9 + bidirectional maps between CSV data and the OCaml values of your choice, 10 + following the {e finally tagged} approach from 11 + {{:https://github.com/dbuenzli/jsont/blob/main/paper/soup.tex}An alphabet 12 + for your data soups} by Daniel Bünzli. Field-level and row-level codecs 13 + share a single type {!t}. Row codecs are built declaratively using 14 + constructors and field accessors with the {!Row} builder. See 13 15 {{:https://erratique.ch/repos/jsont/paper/soup.pdf}An alphabet for your data 14 16 soups} for the technique. 15 17