Hi David, Thanks for nailing that one! I have to start teaching Swift in a bit and really wanting an answer other that "Just because it felt good."
_ Jim Sent from Outlook Mobile<https://aka.ms/sdimjr> _____________________________ From: David Turnbull <[email protected]<mailto:[email protected]>> Sent: Tuesday, April 5, 2016 2:03 AM Subject: Re: [swift-users] Question out of curiosity: why "func" To: Jim Malak <[email protected]<mailto:[email protected]>> Cc: <[email protected]<mailto:[email protected]>> On Mon, Apr 4, 2016 at 7:25 AM, Jim Malak via swift-users <[email protected]<mailto:[email protected]>> wrote: what purpose does requiring the keyword "func" serve when defining or decaling a function in Swift. func someFunction() { } someFunctionThatTakesAClosure() { } -david
_______________________________________________ swift-users mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-users
