← All repos

ppx_fields_conv

Generation of accessor and iteration functions for ocaml records

Browse cluster: OCaml incremental computation and PPX tooling
111commits
6contributors
5languages

Tech stack & purpose

ppx_fields_conv is a PPX rewriter for OCaml that generates accessor and iteration functions for record types. It creates first-class field values, getter and setter functions, and higher-order functions for folding, mapping, and iterating over record fields. The tool is built for OCaml and works with the Fieldslib library, allowing developers to automatically derive a wide range of field-manipulation utilities through the `[@@deriving fields]` annotation, with support for both regular and unboxed records.

Languages

OCaml
99.0%
Shell
0.8%
Makefile
0.2%
Standard ML
0.0%
Dune
0.0%

Contributors