package ppx_enum
-
ppx_enum._lib
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
The to_string function should be named foo_to_string for variant foo, and * just to_string for the special t variant
The from_string function should be named foo_from_string for variant foo, and * just from_string for the special t variant
The from_string_exn function should be named foo_from_string_exn for variant foo, and * just from_string_exn for the special t variant
val constructor_is_bare : Parsetree.constructor_declaration -> bool
Test whether a constructor is a "bare" constructor - that is it is * declared in the form * | Name * for some name
val constructors_are_bare : Parsetree.constructor_declaration list -> bool
Test whether a list of constructors are all "bare"