asdlGen
Reference Manual
: Input Syntax
: Type Definitions
: Product TypesProduct types are record or tuple declarations. They consist of a non-empty sequence of fields separated by commas enclosed in parenthesis. For example
pair_of_ints = (int, int)
declares a new type pair_of_ints
that consists of two integers.
asdlGen
Reference Manual
: Input Syntax
: Type Definitions
: Product Types