Re: [swift-evolution] [Proposal] Enums with static stored propertiesfor each case

2016-05-31 Thread Leonardo Pessoa via swift-evolution
__ > From: Jānis Kiršteins > Sent: ‎31/‎05/‎2016 11:17 AM > To: Leonardo Pessoa > Cc: Brent Royal-Gordon; swift-evolution > Subject: Re: [swift-evolution] [Proposal] Enums with static stored > propertiesfor each case > > I wrote a proposal draft: > > #

Re: [swift-evolution] [Proposal] Enums with static stored propertiesfor each case

2016-05-28 Thread Jānis Kiršteins via swift-evolution
miliar with. I don't see how the 'where' syntax reads like > natural language and I agree it doesn't match other uses of where in the > language. > > From: Jānis Kiršteins via swift-evolution > Sent: ‎28/‎05/‎2016 10:54 AM > To: Brent Royal-Gordon > Cc: swift-evolution >

Re: [swift-evolution] [Proposal] Enums with static stored propertiesfor each case

2016-05-28 Thread Leonardo Pessoa via swift-evolution
ies.com> Cc: "swift-evolution" <swift-evolution@swift.org> Subject: Re: [swift-evolution] [Proposal] Enums with static stored propertiesfor each case > - Abusing rawValue is just that: an abuse. My original proposal does not replace rawValue and is compatible with it. >

Re: [swift-evolution] [Proposal] Enums with static stored propertiesfor each case

2016-05-27 Thread Leonardo Pessoa via swift-evolution
<cocoa...@charlessoft.com> Cc: "swift-evolution" <swift-evolution@swift.org> Subject: Re: [swift-evolution] [Proposal] Enums with static stored propertiesfor each case Correct me if I'm wrong, but this idea with accessors is not the same as static properties for each case