package ppx_typerep_conv

  1. Overview
  2. Docs
Generation of runtime types from type declarations

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_typerep_conv-v0.9.0.tar.gz
sha256=9fd81108d2f4731b80c610ed7f36ca3977ea82e159e6be7fda245bd0b2d05534
md5=92b037ef013823fed502ed2eb7c9a09c

README.md.html

title: ppx_typerep_conv parent: ../README.md

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.

OCaml

Innovation. Community. Security.