<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">On Apr 15, 2016, at 12:47 AM, Andrey Tarantsov <<a href="mailto:andrey@tarantsov.com" class="">andrey@tarantsov.com</a>> wrote:<div><blockquote type="cite" class=""><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Chris,<div class=""><br class=""></div><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="">Given all this, I think it makes sense to go for syntactic uniformity between parameter list and function types, and just require parenthesis on the argument list. The types above can be trivially written as:<br class=""><br class=""> (Int) -> Float<br class=""> (String) -> ()<br class=""></div></div></blockquote><div class=""><br class=""></div>I don't care about this particular question too much, although I still prefer less parenthesis where possible.<br class=""><div class=""><br class=""></div><div class="">But I fear that going this way, we'll soon arrive at requiring parenthesis for the block arguments:</div><div class=""><br class=""></div></div></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><div class=""><div class="">do_something { foo in </div></div></div><div class=""><div class=""><div class=""> ...</div></div></div><div class=""><div class=""><div class="">}</div></div></div></blockquote><div class=""><div class=""><div class=""><br class=""></div><div class="">and that (the parenthesis in blocks) is something I would love to avoid.</div></div></div></div></div></blockquote><div><br class=""></div>I see your concern, and while someone might propose that, I would be pretty strongly against it. The closure parameter syntax is already magical in many ways (e.g. you can elide the "-> ReturnType” before in, so I don’t see a reason to mechanically force alignment with type syntax. Further, closures are written much more often than function types, so terseness is a lot more beneficial.</div><div><br class=""></div><div>-Chris</div></body></html>