[swift-evolution] [Pitch] merge types and protocols back together with type<Type, Protocol, ...>

Brent Royal-Gordon brent at architechies.com
Tue May 17 00:10:24 CDT 2016


> We've been over this a few times before on the list. I personally like naming this thing "Any<…>" in the same vein as "AnyObject", "AnyClass", and "AnySequence". I also see Thorsten (and in the past Brent's?) argument for calling it "all" or "All", because it's enforcing multiple constraints.

I have suggested `all<>` in the past, but I now favor `Any`, because that allows it to be unified with the universal supertype `Any`, `Any<class>`, and things like `Any<Collection>` to forge the One Existential Syntax to rule them all.

-- 
Brent Royal-Gordon
Architechies



More information about the swift-evolution mailing list