[swift-evolution] Spread Operator as Shorthand for Map
Al Skipp
al_skipp at fastmail.fm
Wed Dec 16 10:07:33 CST 2015
> On 16 Dec 2015, at 15:50, Matthew Johnson <matthew at anandabits.com> wrote:
>
> If we peel off just the contextual shorthand aspect of this proposal you could write:
>
> cars.map(.make)
>
> That does seem like a big win if it is feasible (doesn’t introduce ambiguity or cause other significant challenges in implementation).
Assuming the implementation is feasible, it looks pretty good to me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151216/6c35b710/attachment.html>
More information about the swift-evolution
mailing list