[swift-evolution] Pre-proposal: CaseEnumerable protocol (derived collection of enum cases)

Joe Groff jgroff at apple.com
Wed Jan 20 17:18:04 CST 2016

> On Jan 20, 2016, at 3:13 PM, David Sweeris <davesweeris at mac.com> wrote:
> If the associated values are all enums themselves, that's great. What if your enum is an error type, and the associated values are all strings with maybe diagnostic info or time stamps or something?

Then I don't even know what you would use CaseEnumerable for. Do you have a more concrete use case in mind?


More information about the swift-evolution mailing list