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: Nov 22 2024 at 17:03 UTC