[swift-evolution] [Proposal] Replace thin arrows (->) with fat arrows (=>)
radexpl at gmail.com
Fri Dec 18 13:07:21 CST 2015
I think you’re confusing (or not being clear about) two things: type declarations and closures. `->` means “a function type returning…” in Swift. I believe what you talk about with fat arrows is a syntax for defining closures.
… and do we need a second syntax for closures in Swift?
> On 18 Dec 2015, at 18:35, David Fekke via swift-evolution <swift-evolution at swift.org> wrote:
> In wanted to propose either adding the fat arrow (=>), or replacing the thin arrow with the fat arrow.
> David Fekke
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution