[swift-evolution] [Proposal] Variadics as Attribute

Justin Jia justin.jia.developer at gmail.com
Fri Jul 8 16:14:08 CDT 2016


Maybe we can introduce #variadic compiler magic to expand
array to varidict parameters. 

e.g. 

func sum(x: Int...)

let x = [1, 2, 3]

sum(#variadic(x))



More information about the swift-evolution mailing list