<div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:0px 0px 1.2em!important">2016-12-20 0:59 GMT+03:00 Derrick Ho &lt;<a href="mailto:wh1pch81n@gmail.com" target="_blank">wh1pch81n@gmail.com</a>&gt;:</p>
<p style="margin:0px 0px 1.2em!important"></p><div class="markdown-here-exclude"><p></p><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>The core team designed swift blocks to range from concise to verbose.  Which one you use depends on your needs.<br><br>If you want to write parenthesis then by all means write parenthesis; no one is stopping you.<br><br>I would rather keep the block syntax as it is so that everyone can choose the style that matches their needs.</div><div class="HOEnZb"><div class="h5"><div><br><div class="gmail_quote"><div>On Mon, Dec 19, 2016 at 1:52 PM Xiaodi Wu via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This issue about `numbers in` was raised during review of SE-0066; if I recall, the core team considered and rejected disallowing that syntax in closures. Since we&#39;re minimizing source-breaking changes, the issue is settled in my view, having been proposed, commented upon, reviewed, and rejected.</blockquote></div></div></div></div></blockquote><p></p></div><p style="margin:0px 0px 1.2em!important"></p>
<p style="margin:0px 0px 1.2em!important">Ok, I understand, you probably consider the syntax in question <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">{ param -&gt; Int in ... }</code> closer to the short form <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">{ param in ... }</code> than to the full form <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">{ (param: Int) -&gt; Int in ... }</code></p>
<p style="margin:0px 0px 1.2em!important">So when applying analogy, it makes more sense to allow the omission as in the short form than to disallow as in the full form. I have to agree. So, -1 to all points of the OP.</p>
<div title="MDH:PGRpdiBjbGFzcz0iZ21haWxfZXh0cmEiPjxkaXYgY2xhc3M9ImdtYWlsX3F1b3RlIj4yMDE2LTEy
LTIwIDA6NTkgR01UKzAzOjAwIERlcnJpY2sgSG8gPHNwYW4gZGlyPSJsdHIiPiZsdDs8YSBocmVm
PSJtYWlsdG86d2gxcGNoODFuQGdtYWlsLmNvbSIgdGFyZ2V0PSJfYmxhbmsiPndoMXBjaDgxbkBn
bWFpbC5jb208L2E+Jmd0Ozwvc3Bhbj46PGJyPjxibG9ja3F1b3RlIGNsYXNzPSJnbWFpbF9xdW90
ZSIgc3R5bGU9Im1hcmdpbjowIDAgMCAuOGV4O2JvcmRlci1sZWZ0OjFweCAjY2NjIHNvbGlkO3Bh
ZGRpbmctbGVmdDoxZXgiPjxkaXY+VGhlIGNvcmUgdGVhbSBkZXNpZ25lZCBzd2lmdCBibG9ja3Mg
dG8gcmFuZ2UgZnJvbSBjb25jaXNlIHRvIHZlcmJvc2UuICBXaGljaCBvbmUgeW91IHVzZSBkZXBl
bmRzIG9uIHlvdXIgbmVlZHMuPGJyPjxicj5JZiB5b3Ugd2FudCB0byB3cml0ZSBwYXJlbnRoZXNp
cyB0aGVuIGJ5IGFsbCBtZWFucyB3cml0ZSBwYXJlbnRoZXNpczsgbm8gb25lIGlzIHN0b3BwaW5n
IHlvdS48YnI+PGJyPkkgd291bGQgcmF0aGVyIGtlZXAgdGhlIGJsb2NrIHN5bnRheCBhcyBpdCBp
cyBzbyB0aGF0IGV2ZXJ5b25lIGNhbiBjaG9vc2UgdGhlIHN0eWxlIHRoYXQgbWF0Y2hlcyB0aGVp
ciBuZWVkcy48L2Rpdj48ZGl2IGNsYX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