Re: [swift-evolution] Normalize Enum Case Representation (rev. 2)

2017-03-31 Thread John McCall via swift-evolution
> On Mar 31, 2017, at 3:10 AM, David Hart via swift-evolution > wrote: > Is there any plan to get this proposal reviewed? It would *really* improve > the SwiftPM Package API. The core team talked about it and have decided to allow it. I've put it back up for review until the 10th. Has someon

Re: [swift-evolution] Normalize Enum Case Representation (rev. 2)

2017-03-31 Thread David Hart via swift-evolution
Is there any plan to get this proposal reviewed? It would *really* improve the SwiftPM Package API. > On 9 Mar 2017, at 23:42, Daniel Duan via swift-evolution > wrote: > > Here’s an updated version with hopefully the correct content. The > “overloaded” case feature has been removed and is dis

Re: [swift-evolution] Normalize Enum Case Representation (rev. 2)

2017-03-09 Thread Daniel Duan via swift-evolution
Here’s an updated version with hopefully the correct content. The “overloaded” case feature has been removed and is discussed in the "alternatives considered" section. # Normalize Enum Case Representation * Proposal: [SE-0155][] * Authors: [Daniel Duan][], [Joe Groff][] * Review Manager: [John

Re: [swift-evolution] Normalize Enum Case Representation (rev. 2)

2017-03-09 Thread Daniel Duan via swift-evolution
cc’ing Xiaodi > On Mar 9, 2017, at 1:53 PM, Joe Groff wrote: > > >> On Mar 8, 2017, at 7:09 PM, Daniel Duan via swift-evolution >> mailto:swift-evolution@swift.org>> wrote: >> >> Hi everyone, >> >> Here’s revision 2 of SE-0155. I’d love some feedback before going into >> re-review. >> >> No

Re: [swift-evolution] Normalize Enum Case Representation (rev. 2)

2017-03-09 Thread Joe Groff via swift-evolution
> On Mar 9, 2017, at 5:59 AM, Matthew Johnson via swift-evolution > wrote: > > I have argued repeatedly that enum cases play two distinct roles (and > sometimes a third in the future). We need to embrace all of these roles. > This proposal primarily normalizes the role of case-as-factory-me

Re: [swift-evolution] Normalize Enum Case Representation (rev. 2)

2017-03-09 Thread Joe Groff via swift-evolution
> On Mar 8, 2017, at 7:09 PM, Daniel Duan via swift-evolution > wrote: > > Hi everyone, > > Here’s revision 2 of SE-0155. I’d love some feedback before going into > re-review. > > Note the “anonymous case” feature is not in this proposal. I found the > motivation section difficult to write

Re: [swift-evolution] Normalize Enum Case Representation (rev. 2)

2017-03-09 Thread Joe Groff via swift-evolution
> On Mar 9, 2017, at 11:48 AM, Daniel Duan wrote: > >> >> On Mar 9, 2017, at 12:31 AM, Xiaodi Wu > > wrote: >> >> On Thu, Mar 9, 2017 at 1:07 AM, Daniel Duan > > wrote: >> Thanks for the thoughtful feed Xiaodi! Replies are inline. I'm going t

Re: [swift-evolution] Normalize Enum Case Representation (rev. 2)

2017-03-09 Thread Daniel Duan via swift-evolution
> On Mar 9, 2017, at 12:31 AM, Xiaodi Wu wrote: > > On Thu, Mar 9, 2017 at 1:07 AM, Daniel Duan > wrote: > Thanks for the thoughtful feed Xiaodi! Replies are inline. I'm going to > incorporate some of the responses into the proposal. > > On Mar 8, 2017, at 9:56 PM, Xia

Re: [swift-evolution] Normalize Enum Case Representation (rev. 2)

2017-03-09 Thread Matthew Johnson via swift-evolution
Sent from my iPad > On Mar 9, 2017, at 2:31 AM, Xiaodi Wu via swift-evolution > wrote: > >> On Thu, Mar 9, 2017 at 1:07 AM, Daniel Duan wrote: >> Thanks for the thoughtful feed Xiaodi! Replies are inline. I'm going to >> incorporate some of the responses into the proposal. >> >>> On Mar 8,

Re: [swift-evolution] Normalize Enum Case Representation (rev. 2)

2017-03-09 Thread Xiaodi Wu via swift-evolution
On Thu, Mar 9, 2017 at 1:07 AM, Daniel Duan wrote: > Thanks for the thoughtful feed Xiaodi! Replies are inline. I'm going to > incorporate some of the responses into the proposal. > > On Mar 8, 2017, at 9:56 PM, Xiaodi Wu wrote: > > The rendered version differs from the text appended to your mes

Re: [swift-evolution] Normalize Enum Case Representation (rev. 2)

2017-03-09 Thread Daniel Duan via swift-evolution
> On Mar 9, 2017, at 12:06 AM, David Hart wrote: > > >> On 9 Mar 2017, at 08:07, Daniel Duan via swift-evolution >> wrote: >> >> Thanks for the thoughtful feed Xiaodi! Replies are inline. I'm going to >> incorporate some of the responses into the proposal. >> >>> On Mar 8, 2017, at 9:56 PM

Re: [swift-evolution] Normalize Enum Case Representation (rev. 2)

2017-03-09 Thread David Hart via swift-evolution
> On 9 Mar 2017, at 08:07, Daniel Duan via swift-evolution > wrote: > > Thanks for the thoughtful feed Xiaodi! Replies are inline. I'm going to > incorporate some of the responses into the proposal. > > On Mar 8, 2017, at 9:56 PM, Xiaodi Wu > wrote: > >> The rend

Re: [swift-evolution] Normalize Enum Case Representation (rev. 2)

2017-03-08 Thread Daniel Duan via swift-evolution
Thanks for the thoughtful feed Xiaodi! Replies are inline. I'm going to incorporate some of the responses into the proposal. > On Mar 8, 2017, at 9:56 PM, Xiaodi Wu wrote: > > The rendered version differs from the text appended to your message. I'll > assume the more fully fleshed out version

Re: [swift-evolution] Normalize Enum Case Representation (rev. 2)

2017-03-08 Thread Xiaodi Wu via swift-evolution
The rendered version differs from the text appended to your message. I'll assume the more fully fleshed out version is what you intend to submit. Three comments/questions: Enum Case "Overloading" An enum may contain cases with the same full name but with associated values of different types. For

[swift-evolution] Normalize Enum Case Representation (rev. 2)

2017-03-08 Thread Daniel Duan via swift-evolution
Hi everyone, Here’s revision 2 of SE-0155. I’d love some feedback before going into re-review. Note the “anonymous case” feature is not in this proposal. I found the motivation section difficult to write when it’s included. I’ve drafted a separate proposal that adds it. Rendered version: htt