[swift-evolution] [apple/swift-evolution] Proposal: Union Type

Cao Jiannan frogcjn at 163.com
Fri Jul 1 08:26:52 CDT 2016



> 下面是被转发的邮件:
> 
> 发件人: Cao Jiannan <frogcjn at 163.com>
> 主题: 回复: [apple/swift-evolution] Proposal: Union Type (#404)
> 日期: 2016年7月1日 GMT+8 21:22:32
> 收件人: apple/swift-evolution <reply+001b1f9a1742a747c12a7f51b5245cb71cd8effe20d7236d92cf00000001138e2b4a92a169ce09bc7c95 at reply.github.com>
> 
> what if OneOf<A, A>?
> 
> duplicate variable compile warning?
> 
>> 在 2016年7月1日,20:59,Adrian Z. <notifications at github.com <mailto:notifications at github.com>> 写道:
>> 
>> Just one simple thing to add:
>> 
>> If ...T equals 10 then <...T, U> = 10 + 1 = 11 types
>> If ...U equals 17 then <T, ...U> = 1 + 17 = 18 types
>> If ...T equals 20 and ...Uequals 22 then <...T, ...U> = 20 + 22 = 42 types
>>>> You are receiving this because you were mentioned.
>> Reply to this email directly, view it on GitHub <https://github.com/apple/swift-evolution/pull/404#issuecomment-229940122>, or mute the thread <https://github.com/notifications/unsubscribe/ABsfmhH9yasaWK8vAs17DGXWHV54QuCkks5qRQ9KgaJpZM4JC7-2>.
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160701/fdee80bf/attachment.html>


More information about the swift-evolution mailing list