Product Types (Structs-Tuples)
← Back to Algebraic Data Types (Type Systems)
Types that combine multiple values where all fields are present simultaneously. Structs bundle named fields, tuples bundle positional values. The set of possible values is the Cartesian product of each field’s type.