[swift-users] tuples and metatypes
Quinn "The Eskimo!"
eskimo1 at apple.com
Wed Aug 31 12:13:52 CDT 2016
On 31 Aug 2016, at 02:38, Ray Fix via swift-users <swift-users at swift.org> wrote:
> Is it correct to say that this is true because there is not a unique metatype for compound types?
The way I’ve seen this explained is that tuples are "structural types" (their compatibility is determined by their structure) and other types are "nominal types" (they can be named, and their compatibility is determined by that name).
If you search various Swift resources (like the swift-evolution archive) for those terms you’ll find lots of interesting discussions.
Share and Enjoy
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
More information about the swift-users