[swift-evolution] Draft Proposal: count property for enum types
Arthur Ariel Sabintsev
arthur at sabintsev.com
Tue Jan 19 19:43:49 CST 2016
+1 from me as well. Proposed solution works very well. I'd personally
prefer some convenience methods on enum to directly return array/count, but
the solution proposed is more 'Swift'y.
On Tue, Jan 19, 2016 at 8:33 PM Jacob Bandes-Storch <jtbandes at gmail.com>
> You can see the latest proposal draft at
> And the discussion in this thread:
> Jacob Bandes-Storch
> On Tue, Jan 19, 2016 at 5:29 PM, Brent Royal-Gordon via swift-evolution <
> swift-evolution at swift.org> wrote:
>> > Why does it fizzle out?
>> Well, there's now a concrete proposal in the thread "Pre-proposal:
>> CaseEnumerable protocol (derived collection of enum cases)", so it seems
>> like we've broken this pattern.
>> Brent Royal-Gordon
>> swift-evolution mailing list
>> swift-evolution at swift.org
Arthur / Sabintsev.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution