Generation of runtime types from type declarations
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
CHANGES.md
CONTRIBUTING.md
LICENSE.md
Makefile
README.md
jbuild
ppx_typerep_conv.opam

README.md

ppx_typerep_conv

Automatic generation of runtime types from type definitions.

This syntax extension defines the type-conv generator [@@deriving typerep], which creates a (runtime) value (called typerep_of_$typename) representing the type definition (see typerep for more information). It is intended to be the main creator of values of type Typerep.t.

This generator supports mostly core types, not all fancy types like union of polymorphic variants.