+1 for an ordered collection of all cases, it could be an ordered set to please proponents of a set.
I have no strong opinions about the name `cases` is good, but I agree it begs to do ''for case in SomeEnum.cases'' `values` is good, and IMO it's consistent with `rawValue` when there is one, not confusing -- Pierre
_______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution