Removed discussions in doc for Swift 4. Why?

From

https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/RevisionHistory.html#//apple_ref/doc/uid/TP40014097-CH40-ID459

"Removed discussion of variable function arguments and the special syntax for curried functions."

Why?

I tried variable function arguments and they seem to work fine in Xcode 9. Didn't try currying yet, however.

Are these features being phased out?

The currying syntax was removed in Swift 3 (see
https://github.com/apple/swift-evolution/blob/master/proposals/0002-remove-currying.md\).
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.

Austin

···

On Mon, Jun 12, 2017 at 11:02 AM, tuuranton--- via swift-users < swift-users@swift.org> wrote:

From

https://developer.apple.com/library/content/documentation/
Swift/Conceptual/Swift_Programming_Language/RevisionHistory.html#//apple_
ref/doc/uid/TP40014097-CH40-ID459

"Removed discussion of variable function arguments and the special syntax
for curried functions."

Why?

I tried variable function arguments and they seem to work fine in Xcode 9.
Didn't try currying yet, however.

Are these features being phased out?

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

`var` arguments were also removed

-- E

···

On Jun 12, 2017, at 12:37 PM, Austin Zheng via swift-users <swift-users@swift.org> wrote:

The currying syntax was removed in Swift 3 (see https://github.com/apple/swift-evolution/blob/master/proposals/0002-remove-currying.md\). 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.

Austin

On Mon, Jun 12, 2017 at 11:02 AM, tuuranton--- via swift-users <swift-users@swift.org <mailto:swift-users@swift.org>> wrote:
From

The Swift Programming Language: Redirect

"Removed discussion of variable function arguments and the special syntax for curried functions."

Why?

I tried variable function arguments and they seem to work fine in Xcode 9. Didn't try currying yet, however.

Are these features being phased out?

_______________________________________________
swift-users mailing list
swift-users@swift.org <mailto:swift-users@swift.org>
https://lists.swift.org/mailman/listinfo/swift-users

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

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:
...

Hi – just to clear this up:

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:

> ...

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

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:

> ...

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users