package ppx_factory

  1. Overview
  2. Docs

Module Ppx_factory_lib.FactorySource

Sourceval _name_from_type_name : string -> string

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

Sourceval _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.