On 31 Aug 2016, at 02:38, Ray Fix via swift-users <[email protected]> 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).

<https://en.wikipedia.org/wiki/Nominal_type_system>

<https://en.wikipedia.org/wiki/Structural_type_system>

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


_______________________________________________
swift-users mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to