[swift-evolution] [Pitch] KeyPath based map, flatMap, filter

Dave Abrahams dabrahams at apple.com
Wed Jul 12 15:15:36 CDT 2017


on Tue Jul 11 2017, Robert Bennett <rltbennett-AT-icloud.com> wrote:

> Just realized that even inout functions don’t let you do
> member(object) = value. 

The other difference is that an inout function can't be used to get a
member from an immutable value, whereas a keypath/subscript/property
access can.


-- 
-Dave


More information about the swift-evolution mailing list