2017-02-14 18:32 GMT+03:00 Dimitri Racordon via swift-evolution <
swift-evolution@swift.org>:

The proposal is indeed really interesting.
> I would love to see if it could get a second round of discussion.
>
> However, I failed to understand the syntax of the proposed extension.
> Where would be defined the label and parameter names? Is this just a typo?
>
> func someFunc<I:IteratorProtocol where I.Element == Int)
>
> “Obviously”, the Collection variant should look like:

func someFunc<C: Collection where C.Iterator.Element == Int>(_ values:
@variadic C) { … }

And the others are analagous.
​
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to