I'm looking for feedback on a proposal to support two new features on enum types:
supporting myEnum[i] as a means of getting the 'i'th symbol in the enumeration
supporting myEnum.indices as a means of getting the range 0..<myEnum.size
The first supplies a capability that is not available for end-users today; the second continues the recent trend of having indexable things support a query indicating what indices can be used with them.
If you have thoughts on this, or would like to upvote the proposal, please see: