Ppx_derivers
Ppx derivers
This module holds the various derivers registered by either ppx_deriving or ppx_type_conv.
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.