> "Splatting" as the OP suggests is a simpler solution, but leaves variadics 
> limited to a unique syntax with no control over type;


I also your prefer the proposal than my initial suggestion.

> I could of course be biased, but then I've never really supported variadics 
> as a feature in the first place šŸ˜


To be perfectly honest, I’m not the biggest zealot of variadics neither =D

However, I spend most of my time writing libraries for people unfamiliar with 
programming, or even computer science in general. As a result, I often provide 
them with "domain specific languagesā€ embedded in some host language. Swift 
fits that job extremely well, thanks to many of its features; variadics are one 
of them.

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to