[swift-users] Question out of curiosity: why "func"

David Turnbull dturnbull at gmail.com
Tue Apr 5 01:03:41 CDT 2016


On Mon, Apr 4, 2016 at 7:25 AM, Jim Malak via swift-users <
swift-users at swift.org> wrote:

>  what purpose does requiring the keyword “func” serve when defining or
> decaling a function in Swift.
>

func someFunction() {

}

someFunctionThatTakesAClosure() {

}

-david
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160404/f2ae017a/attachment.html>


More information about the swift-users mailing list