[swift-evolution] Splat

Rainer Brockerhoff rainer at brockerhoff.net
Wed Feb 10 17:00:25 CST 2016

On 2/10/16 19:52, Jacob Bandes-Storch via swift-evolution wrote:
> Weird idea based on #1: since some folks were discussing having "$$" as
> a special identifier meaning "all arguments" in a closure, perhaps the
> special parameter label could be $$ as well?
>     concatenate(mytuple.0, mytuple.1)
>     concatenate($$: mytuple)

Would this, perhaps, solve the varargs forwarding problem?

public func Foo(items: Any...) {

Rainer Brockerhoff  <rainer at brockerhoff.net>
Belo Horizonte, Brazil
"In the affairs of others even fools are wise
In their own business even sages err."

More information about the swift-evolution mailing list