[swift-evolution] [Pitch] Extend Any.Type to allow construction of bound generic types

Dave Abrahams dabrahams at apple.com
Wed Apr 20 13:27:40 CDT 2016


on Wed Apr 20 2016, Joanna Carter <swift-evolution at swift.org> wrote:

> I would make a strong argument for completing Swift generics by including such facilities in Any.Type, so that:
>
> 1. we do not have to use the somewhat cumbersome Mirror mechanism
>
> 2. we can do something useful with instances of Any.Type, which, at
> present, does absolutely nothing.

Not commenting on the rest of your post, but you can compare instances
of Any.Type with == and !=.

-- 
Dave



More information about the swift-evolution mailing list