Re: [swift-evolution] Fwd: Re: Smart KeyPaths

2017-03-21 Thread Ricardo Parada via swift-evolution
You are right. I did not think of that. Sent from my iPhone > On Mar 21, 2017, at 5:34 AM, Brent Royal-Gordon > wrote: > >> On Mar 20, 2017, at 9:12 PM, Ricardo Parada via swift-evolution >> wrote: >> >> If a character had to be used to denote key paths then I would prefer this >> one: >>

Re: [swift-evolution] Fwd: Re: Smart KeyPaths

2017-03-21 Thread Brent Royal-Gordon via swift-evolution
> On Mar 20, 2017, at 9:12 PM, Ricardo Parada via swift-evolution > wrote: > > If a character had to be used to denote key paths then I would prefer this > one: > > 1. Type:path.to.value and instance:path.to.value > > I feel like the # screams at me. :-) If I write `foo[instance:path.to.val

Re: [swift-evolution] Fwd: Re: Smart KeyPaths

2017-03-20 Thread Ricardo Parada via swift-evolution
If a character had to be used to denote key paths then I would prefer this one: 1. Type:path.to.value and instance:path.to.value I feel like the # screams at me. :-) > On Mar 20, 2017, at 1:52 PM, Matthew Johnson via swift-evolution > wrote: > > >> On Mar 20, 2017, at 12:37 PM, Vladimir.S vi

Re: [swift-evolution] Fwd: Re: Smart KeyPaths

2017-03-20 Thread Matthew Johnson via swift-evolution
> On Mar 20, 2017, at 12:37 PM, Vladimir.S via swift-evolution > wrote: > > On 20.03.2017 17:56, Charles Srstka via swift-evolution wrote: >>> On Mar 20, 2017, at 9:23 AM, Christopher Kornher via swift-evolution >>> mailto:swift-evolution@swift.org>> wrote: >>> On Mar 20, 2017, at 5:12 AM

[swift-evolution] Fwd: Re: Smart KeyPaths

2017-03-20 Thread Vladimir.S via swift-evolution
On 20.03.2017 17:56, Charles Srstka via swift-evolution wrote: On Mar 20, 2017, at 9:23 AM, Christopher Kornher via swift-evolution mailto:swift-evolution@swift.org>> wrote: On Mar 20, 2017, at 5:12 AM, David Hart via swift-evolution mailto:swift-evolution@swift.org>> wrote: On 20 Mar 2017,