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

Vladimir.S svabox at gmail.com
Fri May 13 16:16:16 CDT 2016


You asked for any example, I give it to you ;-)
(as I said, it is syntactical, just to show that such struct<> can be used 
to test some struct for conforming to protocol, that was not conformed at 
writing time)
Probably we can invent useful examples for this struct<> - but I don't 
believe it will be introduced in Swift ;-)

On 13.05.2016 22:14, Adrian Zubarev via swift-evolution wrote:
> Can we really do that? I mean, I thought about that myself but I came to
> the conclusion that this scenario is like: I was to lazy to couple this
> structs to my library protocols, will you do that for me?


More information about the swift-evolution mailing list