[swift-evolution] [Proposal] Union Type
laurent.mihalkovic at gmail.com
Fri Jul 1 12:47:38 CDT 2016
@core team: should the be added to the list of common rejections for now or does it stand a chance in the next 2 or 3 versions?
> On Jul 1, 2016, at 11:06 AM, Cao Jiannan via swift-evolution <swift-evolution at swift.org> wrote:
> I'm now officially proposal the union type feature for Swift. Please see:
> Add union type grammar, represents the type which is one of other types.
> var stringOrURL: String | URL = "https://www.apple.com"
> I would be thankful if someone support this idea and give some advice. Thanks!
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution