[swift-evolution] Lambda function syntax

Alan Skipp al_skipp at icloud.com
Thu Dec 24 08:05:14 CST 2015


> I'm completely against replacing '->' by ':' it would make unreadable the declaration of a function taking a closure as parameter, or returning one (among other things).
> 
> -- 
> Pierre

I agree with Pierre. Parameter names and functions as arguments or return values are easily distinguished currently. 

Replacing -> with :, would severely impact readability. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151224/9da82d1b/attachment.html>


More information about the swift-evolution mailing list