Each element of a tuple pattern matches the corresponding element of a tuple value.
When a tuple pattern (
P0
,
… ,
Pn
)
is matched against a tuple type (
T0
,
… ,
Tn
)
,
each Pi
is matched against the corresponding
Ti
,
producing typing contexts Γi. The typing context
produced by the whole match is the union of the contexts Γi.