Is tuple just a specialization of a record (with 2 fields) ? Or is there something more ?
or reading a bit more, looks like Tuples can have 1 more more fields, but they are unnamed, and that is the difference.
At the ABI level yes: tuples (along with flags, enums, options, results, and strings) are equivalent to certain despecialized types.
At higher levels they are entirely distinct types afaik.
Scott Waye has marked this topic as resolved.
Last updated: Dec 23 2024 at 12:05 UTC