Closed
Description
Using tuples is a nice way to model heterogeneous arrays in rescript, but so far they're not allowed in unboxed/untagged variants, even though they're compiled to regular arrays in js, and arrays are allowed in untagged variants.
It'd be cool to add tuples to the allowed types in untagged variants.
See forum post for a use case.
We'd basically allow tuples and we'd check that only one variant case can be of type array or tuple.