[swift-evolution] Lambda function syntax

Alexander Regueiro alexreg at gmail.com
Thu Dec 24 10:42:19 CST 2015


Yeah, I'm not to bothered by this either way. Back to the discussion about closure syntax, maybe?

Sent from my iPhone

> On 24 Dec 2015, at 14:05, Alan Skipp <al_skipp at icloud.com> wrote:
> 
> 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/cca91608/attachment.html>


More information about the swift-evolution mailing list