> and you could access the unapplied lens for an instance property using 
> `Type.property` syntax, analogous to how `Type.method` works. I feel like if 
> we did that, then it would obviate the need for explicit `property.get` or 
> `property.set` for most native Swift uses, though maybe not ObjC interop uses.

I feel like if you don't have a way to fetch an unbound getter, you're missing 
the 90% case, which is constructs like:

        let textValues = textViews.map(.#text.get)

I do agree with you that the setter is usually far less useful—although the 
ReactiveCocoa people might not agree with us on that.

-- 
Brent Royal-Gordon
Architechies

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

Reply via email to