[swift-evolution] Proposal: Remove implicit tuple splat behavior from function applications
clattner at apple.com
Wed Jan 27 12:16:18 CST 2016
> On Jan 27, 2016, at 2:18 AM, Nisse Bergman <nisse at potmo.com> wrote:
> -1 I use this in both my mocking API and in JSON deserialising/serializing.
> I think this is a great thing to have.
Ok, I’m definitely interested in knowing more. Please include a code sample, showing both the declaration being splatted into and the call sites. Otherwise, I can’t tell how much value this feature is adding, and what the pain would be if it were removed. Thanks!
>> On 27 Jan 2016, at 11:07, David Waite via swift-evolution <swift-evolution at swift.org> wrote:
>> I used this just last week! But only as an illustration
>> One comment though, a splat operator need not be purely syntactic sugar - it could be the way arrays are applied to variadic functions.
>> swift-evolution mailing list
>> swift-evolution at swift.org
More information about the swift-evolution