[swift-evolution] [Idea] Generic subscripts
Chris Lattner
clattner at apple.com
Wed Aug 3 12:00:52 CDT 2016
On Aug 3, 2016, at 12:25 AM, Brent Royal-Gordon via swift-evolution <swift-evolution at swift.org> wrote:
> I'm looking for consensus on, and a coalition for, including generic subscripts in Phase 1 of the Swift 4 design cycle.
> What I'd like to figure out at this point is:
>
> * Who is interested in this feature?
This is a very commonly requested feature. I consider it an obvious omission, not something that needs extensive design work. A proposal would be appropriate to capture the effort though. It should include generic properties as well (generic over the result type).
> * Should it be severed from throwing subscripts?
Yes, perfectly reasonable.
> * Does the core team agree that this is in Phase 1's scope?
I’ll defer to the standard library gurus to figure this out. It doesn’t sound like one of the most critical missing features, but I would love to see this happen at some point.
-Chris
More information about the swift-evolution
mailing list