[swift-evolution] Disappearing AnyGenerator/AnySequence/AnyCollection wrapper types
erica at ericasadun.com
Mon Dec 14 16:24:55 CST 2015
> Joe wrote: "What changes would be necessary to the standard library to make the most of this feature? Some particular problems we'd like to solve are to eliminate the need for the AnyGenerator/AnySequence/AnyCollection wrapper types, and to provide a solution for heterogeneous equality, so that protocols can inherit Equatable and Hashable without forfeiting the ability to be used dynamically. See Brent Simmons' Swift diary posts at http://inessential.com/swiftdiary <http://inessential.com/swiftdiary> for an example of why the latter is important."
Any advice for what could be done now in preparation for any changes that might happen and an estimate of when these types might be on the chopping block? Not 3.0, right? But 4.0? What are good ways to work around this now using current (and presumably stable) constructs?
Thanks, -- E
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution