package ppx_typerep_conv

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.11.1.tar.gz
sha256=f33b77b9f39a9f1d730ce18cdd8a9f817128d4c3ae4b94b93496a49774151d4d
md5=826e9daf00258184e3392c970fa7d616

Description

Part of the Jane Street's PPX rewriters collection.

Published: 14 May 2018

README

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.

Dependencies (6)

  1. ppxlib >= "0.3.0" & < "0.9.0"
  2. ocaml-migrate-parsetree >= "1.0" & < "2.0.0"
  3. jbuilder >= "1.0+beta18.1"
  4. typerep >= "v0.11" & < "v0.12"
  5. base >= "v0.11" & < "v0.12"
  6. ocaml >= "4.04.1"

Dev Dependencies

None

Used by (3)

  1. ppx_jane = "v0.11.0"
  2. scaml < "1.5.0"
  3. unmagic

Conflicts

None

OCaml

Innovation. Community. Security.