[swift-evolution] [Proposal] function "return" optional keyword.
David Owens II
david at owensd.io
Sat Dec 19 19:00:42 CST 2015
-1 for me. Closures gain a special syntax because of their use case, specifically inlining locally. Functions don’t get that.
> On Dec 19, 2015, at 4:44 PM, Andrew Bennett via swift-evolution <swift-evolution at swift.org> wrote:
>
> +1 for consistency with closures
>
> On Sun, Dec 20, 2015 at 8:15 AM, Stephen Christopher via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
> The discussion I was remembering, comment courtesy of Chris:
> https://devforums.apple.com/message/1014317#1014317 <https://devforums.apple.com/message/1014317#1014317>
>
> (linked from https://devforums.apple.com/thread/255242 <https://devforums.apple.com/thread/255242>)
>
>
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org <mailto:swift-evolution at swift.org>
> https://lists.swift.org/mailman/listinfo/swift-evolution <https://lists.swift.org/mailman/listinfo/swift-evolution>
>
>
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151219/ab92580e/attachment.html>
More information about the swift-evolution
mailing list