package ppx_derivers

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Ppx derivers

This module holds the various derivers registered by either ppx_deriving or ppx_type_conv.

type deriver = ..

Type of a deriver. The concrete constructors are added by ppx_type_conv/ppx_deriving.

val register : string -> deriver -> unit

register name deriver registers a new deriver. Raises if name is already registered.

val lookup : string -> deriver option

Lookup a previously registered deriver

val derivers : unit -> (string * deriver) list

derivers () returns all currently registered derivers.

OCaml

Innovation. Community. Security.