package ppx_factory

  1. Overview
  2. Docs

Structure generator

Signature generator

val _name_from_type_name : string -> string

Return the name of the factory function derived from a type with the given name.

val _name_from_type_and_constructor_name : type_name:string -> constructor_name:string -> string

Return the name of the factory derived from a type with a given type_name and for the constructor with constructor_name.