[swift-evolution] [Discussion] Can we make `.Type` Hashable?

Adrian Zubarev adrian.zubarev at devandartist.com
Fri Jul 1 08:20:31 CDT 2016


Additive question:

Can a type instance of a type SomeType.self SomeType.Type be Hashable?
I really would want to use these in dictionaries or sets :)

[Any.Type: ValueType]

Set<Any.Type> // Union type universe


-- 
Adrian Zubarev
Sent with Airmail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160701/175abff8/attachment.html>


More information about the swift-evolution mailing list