[swift-evolution] [Pitch] Rename protocol<> to Any<>
Austin Zheng
austinzheng at gmail.com
Thu May 19 01:43:44 CDT 2016
Does anyone want to speak up in favor of 'Any<>'? The more I think about it the more I think 'Any' should just be the single, canonical form.
Austin
> On May 18, 2016, at 11:33 PM, Colin Barrett <colin at springsandstruts.com> wrote:
>
> There's no need for this, that's what I was trying to get across. It's (likely) a special case in the grammar right now. If we eliminate Any<>, from the point of view of syntax, both Any and Any<Foo, Bar> are just a built in type and normal application of generic arguments (to a built in type).
>
> -Colin (via thumbs)
>
>> On May 19, 2016, at 1:58 AM, Austin Zheng <austinzheng at gmail.com> wrote:
>>
>> - 'Any<>' should be allowed. You can currently use 'protocol<>' in your code instead of 'Any'.
More information about the swift-evolution
mailing list