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.10.0.tar.gz
sha256=d375f6a103044498354dc7f06a9759fdd9afee137673a64d4436e0f18b176e90
md5=d99d64aa481c63d2be44ac95addb0cfa

Description

Part of the Jane Street's PPX rewriters collection.

Published: 15 Dec 2017

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 (8)

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

Dev Dependencies

None

Used by (3)

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

Conflicts

None

OCaml

Innovation. Community. Security.