Re: [swift-evolution] [Pitch] Named subscripts 2

2017-01-13 Thread Tony Freeman via swift-evolution
Thank you for your answer, but i just feel that options should be a property. I'm ok with my current solution but it can be simplified with named subscript.___ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinf

Re: [swift-evolution] [Pitch] Named subscripts 2

2017-01-13 Thread Karl Wagner via swift-evolution
> On 13 Jan 2017, at 10:43, Tony Freeman via swift-evolution > wrote: > > Hello Swift community, > > I found this very useful while wrapping c api, although this may simplify the > code in other cases when subscript doesn't have it's own state and(or) share > some state form the container. >