package ppx_deriving

  1. Overview
  2. Docs
Type-driven code generation for OCaml >=4.02.2

Install

Dune Dependency

Authors

Maintainers

Sources

v4.5.tar.gz
sha512=f79153c5231ba1e03a3491fde95ca82ecb62fe05b60a649a374d2fbc5ea5dd9242126de7dfbe917c22fd7077c026c940e18c6b36c5ce0ec4bb6e07f11d2b710b

doc/ppx_deriving_enum/Ppx_deriving_enum/index.html

Module Ppx_deriving_enum

val deriver : string
val raise_errorf : ?sub:Location.error list -> ?loc:Location.t -> ('a, unit, string, 'b) Stdlib.format4 -> 'a
val parse_options : (string * Parsetree.expression) list -> unit
val attr_value : Parsetree.attributes -> int option
val mappings_of_type : Parsetree.type_declaration -> [> `Polymorphic | `Regular ] * (int * Asttypes.label Asttypes.loc) list
val str_of_type : options:(string * Parsetree.expression) list -> path:'a -> Parsetree.type_declaration -> Parsetree.value_binding list
val sig_of_type : options:(string * Parsetree.expression) list -> path:'a -> Parsetree.type_declaration -> Parsetree.signature_item list
OCaml

Innovation. Community. Security.