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?

No.

— Radek

> On 18 Dec 2015, at 18:35, David Fekke via swift-evolution 
> <[email protected]> wrote:
> 
> In wanted to propose either adding the fat arrow (=>), or replacing the thin 
> arrow with the fat arrow.
> 
> I know that Java uses the thin arrow, but  JavaScript, TypeScript and C# both 
> allow the use of the fat arrow for lambda syntax.
> 
> Thoughts?
> 
> Thanks,
> David Fekke 
>  _______________________________________________
> swift-evolution mailing list
> [email protected]
> https://lists.swift.org/mailman/listinfo/swift-evolution

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to