Re: [swift-evolution] [Pitch] Object aliases

2017-07-03 Thread John McCall via swift-evolution
> On Jun 30, 2017, at 4:55 AM, Daryle Walker wrote: >> On Jun 30, 2017, at 1:11 AM, John McCall > > wrote: >> >>> >>> On Jun 23, 2017, at 3:28 AM, Daryle Walker via swift-evolution >>>

Re: [swift-evolution] [Pitch] Object aliases

2017-07-03 Thread Martin Waitz via swift-evolution
Hi again, > Hello, > >> Am 30.06.2017 um 10:55 schrieb Daryle Walker via swift-evolution >> >: >> >> I was thinking posing aliases would be like symbolic substitution; we could >> replace the alias with the text defining its source

Re: [swift-evolution] [Pitch] Object aliases

2017-07-03 Thread Martin Waitz via swift-evolution
Hello, > Am 30.06.2017 um 10:55 schrieb Daryle Walker via swift-evolution > : > > I was thinking posing aliases would be like symbolic substitution; we could > replace the alias with the text defining its source expression everywhere and > there should be no

Re: [swift-evolution] [Pitch] Object aliases

2017-06-30 Thread Daryle Walker via swift-evolution
> On Jun 30, 2017, at 1:11 AM, John McCall wrote: > >> >> On Jun 23, 2017, at 3:28 AM, Daryle Walker via swift-evolution >> > wrote: >> >> Swift is currently an alias-adverse language. The model for the

Re: [swift-evolution] [Pitch] Object aliases

2017-06-30 Thread Daryle Walker via swift-evolution
> On Jun 29, 2017, at 6:45 PM, Beta wrote: > > So, what’s the difference between this and teaching Key Paths to look through > tuple indices - that was the only part of your example I couldn’t directly > express. You’re talking about Apple’s Cocoa’s KVC/KVO, right? The

Re: [swift-evolution] [Pitch] Object aliases

2017-06-29 Thread John McCall via swift-evolution
> On Jun 23, 2017, at 3:28 AM, Daryle Walker via swift-evolution > wrote: > > I started a thread earlier this week about strong type-aliases and object > aliases. Here’s a fuller proposal on object aliases. > > Feature name > Proposal: SE- > Authors: Daryle

Re: [swift-evolution] [Pitch] Object aliases

2017-06-29 Thread Beta via swift-evolution
So, what’s the difference between this and teaching Key Paths to look through tuple indices - that was the only part of your example I couldn’t directly express. ~Robert Widmann > On Jun 23, 2017, at 12:28 AM, Daryle Walker via swift-evolution > wrote: > > I

Re: [swift-evolution] [Pitch] Object aliases

2017-06-29 Thread T.J. Usiyan via swift-evolution
This video is a nice introduction to why lenses are. It is in Haskell, yes, but I believe that you can infer everything that you need from the context provided. A Brief Introduction of the Haskell Lens Library On Wed, Jun 28, 2017 at 1:42 PM, Daryle

Re: [swift-evolution] [Pitch] Object aliases

2017-06-28 Thread Daryle Walker via swift-evolution
I put this proposal, with an addendum about lenses, at . — Daryle Walker Mac, Internet, and Video Game Junkie darylew AT mac DOT com ___ swift-evolution mailing list

Re: [swift-evolution] [Pitch] Object aliases

2017-06-25 Thread Daryle Walker via swift-evolution
> On Jun 23, 2017, at 9:29 AM, Nevin Brackett-Rozinsky > wrote: > > This sounds similar to lenses. Have you looked at previous lens discussions > on-list? I had no idea what a lens is. Nor was is easy to figure out since I can’t read Scala, JavaScript, or

Re: [swift-evolution] [Pitch] Object aliases

2017-06-23 Thread Nevin Brackett-Rozinsky via swift-evolution
This sounds similar to lenses. Have you looked at previous lens discussions on-list? Nevin On Fri, Jun 23, 2017 at 3:28 AM, Daryle Walker via swift-evolution < swift-evolution@swift.org> wrote: > I started a thread earlier this week about strong type-aliases and object > aliases. Here’s a

[swift-evolution] [Pitch] Object aliases

2017-06-23 Thread Daryle Walker via swift-evolution
I started a thread earlier this week about strong type-aliases and object aliases. Here’s a fuller proposal on object aliases. Feature name Proposal: SE- Authors: Daryle Walker , Author 2 Review Manager: TBD Status: Awaiting