Austin Zheng wrote:
I'm not aware, though, of any proposal in the pipeline to remove variadicarguments, so it's not clear why the book should have removed discussionabout them.
Yes, this is a real mystery.
···
On Jun 12, 2017, at 12:37 PM, Austin Zheng via swift-users <swift-users at swift.org> wrote:
...
A short description of variable argument functions (variadic functions) was removed specifically from the “A Swift Tour” part of TSPL. It was felt that this particular feature wasn’t the kind of thing that needed to be included up front in such a short intro-to-the-language chapter. They’re still described in the Functions chapter.
···
On Jun 12, 2017, at 11:37 AM, Austin Zheng via swift-users <swift-users@swift.org> wrote:
'm not aware, though, of any proposal in the pipeline to remove variadic arguments, so it's not clear why the book should have removed discussion about them.
"Removed discussion of variable function arguments and the special syntax
for curried functions."
···
On Mon, Jun 12, 2017 at 10:02 PM, tuuranton--- via swift-users < swift-users@swift.org> wrote:
> Austin Zheng wrote:
> I'm not aware, though, of any proposal in the pipeline to remove variadic
arguments, so it's not clear why the book should have removed discussion
about them.
Yes, this is a real mystery.
> On Jun 12, 2017, at 12:37 PM, Austin Zheng via swift-users <swift-users > at swift.org> wrote:
That is, "variable" not "variadic" function arguments.
func foo(var a: Int) { ... }
is no longer valid, the parameter may not have the var specifier anymore.
···
On Mon, Jun 12, 2017 at 10:24 PM, Jens Persson <jens@bitcycle.com> wrote:
"Removed discussion of variable function arguments and the special syntax
for curried functions."
On Mon, Jun 12, 2017 at 10:02 PM, tuuranton--- via swift-users < > swift-users@swift.org> wrote:
> Austin Zheng wrote:
> I'm not aware, though, of any proposal in the pipeline to remove
variadic
arguments, so it's not clear why the book should have removed discussion
about them.
Yes, this is a real mystery.
> On Jun 12, 2017, at 12:37 PM, Austin Zheng via swift-users <swift-users >> at swift.org> wrote: