[swift-evolution] Binding generic types using a metatype parameter

Joanna Carter joanna at carterconsulting.org.uk
Fri Mar 25 14:39:59 CDT 2016

> You'd need to extend Int to conform to the protocol for the cast to succeed.

Ah, yes. And there lies the reason behind wanting to be able to extend Any - avoiding having to extend every possible type likely to be used - mutter, mutter ;-)

Is it worth putting i a formal proposal for the extension of Any, or has that already been done?


Joanna Carter
Carter Consulting

More information about the swift-evolution mailing list