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.11.0.tar.gz
sha256=6f360abee68ae005683985cacdf3ec20df5e42b69cd7b7726681bb119b51768a
md5=112be1f82ee72951cce9b0b2ead10dff

Description

Part of the Jane Street's PPX rewriters collection.

Published: 22 Mar 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.1.0" & < "0.3.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.