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
md5=92b037ef013823fed502ed2eb7c9a09c

Description

Part of the Jane Street's PPX rewriters collection.

Published: 22 Mar 2017

README

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.

Dependencies (8)

  1. ocaml-migrate-parsetree >= "0.4" & < "2.0.0"
  2. typerep >= "v0.9" & < "v0.10"
  3. ppx_type_conv >= "v0.9" & < "v0.10"
  4. ppx_metaquot >= "v0.9" & < "v0.10"
  5. ppx_driver >= "v0.9" & < "v0.10"
  6. ppx_core >= "v0.9" & < "v0.10"
  7. jbuilder >= "1.0+beta4"
  8. ocaml >= "4.03.0"

Dev Dependencies

None

Used by (4)

  1. ppx_jane = "v0.9.0"
  2. scaml < "1.5.0"
  3. typerep_extended >= "v0.9.0"
  4. unmagic

Conflicts

None