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_ord/Ppx_deriving_ord/index.html

Module Ppx_deriving_ord

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_nobuiltin : Parsetree.attributes -> bool
val attr_compare : Parsetree.attributes -> Parsetree.expression option
val argn : [< `lhs | `rhs ] -> int -> string
val argl : [< `lhs | `rhs ] -> string -> string
val compare_reduce : Parsetree.expression -> Parsetree.expression -> Parsetree.expression
val reduce_compare : Parsetree.expression list -> Parsetree.expression
val wildcard_case : Parsetree.case list -> Parsetree.case
val pattn : [< `lhs | `rhs ] -> 'a list -> Parsetree.pattern list
val pattl : [< `lhs | `rhs ] -> Parsetree.label_declaration list -> (string * Parsetree.pattern) list
val pconstrrec : string -> (string * Parsetree.pattern) list -> Parsetree.pattern
val exprn : Ppx_deriving.quoter -> Parsetree.core_type list -> Parsetree.expression list
val exprl : Ppx_deriving.quoter -> Parsetree.label_declaration list -> Parsetree.expression list
val expr_of_label_decl : Ppx_deriving.quoter -> Parsetree.label_declaration -> Parsetree.expression
val expr_of_typ : Ppx_deriving.quoter -> Parsetree.core_type -> Parsetree.expression
val core_type_of_decl : options:(string * Parsetree.expression) list -> path:'a -> Parsetree.type_declaration -> Parsetree.core_type
val sig_of_type : options:(string * Parsetree.expression) list -> path:'a -> Parsetree.type_declaration -> Parsetree.signature_item list
val str_of_type : options:(string * Parsetree.expression) list -> path:'a -> Parsetree.type_declaration -> Parsetree.value_binding list
OCaml

Innovation. Community. Security.