> > • What is your evaluation of the proposal? > +1, very happy to see this coming together! I've been interested in this feature since the early days of Swift.
My only reservation is that I would have expected to be able to access the list of values without any extra annotations. Is there a reason to not automatically give ValueEnumerable conformance to any enum that fits the criteria for synthesis? > > • Is the problem being addressed significant enough to warrant a change to > Swift? > Definitely, for the reasons mentioned in the proposal's motivation. > > • Does this proposal fit well with the feel and direction of Swift? > Yes, this feels like a very natural addition to the language. > > • If you have used other languages or libraries with a similar feature, how > do you feel that this proposal compares to those? > I've used the GetValues API in C#, and though I think the proposed API is a much better fit for Swift, I did appreciate that GetValues could be used on any enum without needing to opt in manually. > > • How much effort did you put into your review? A glance, a quick reading, or > an in-depth study? > Full reading. Jarod
_______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution