> On Jun 29, 2017, at 6:45 PM, Beta <[email protected]> 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 key-path method is 
like the lenses idea bouncing around this thread, except KVO/KVC doesn’t take 
Swift-specific stuff (like tuples) into account. Key-path and lenses are 
resolved at run-time, while the posing-aliases here should be resolved at 
compile-time (or whenever the memory locations of globals and named locals are 
resolved).

— 
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com 

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to