<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="">I have to say that nuance is basically lost on me. If I assign a variable I know when I use it I get a type back based on “:”. If I call a function it has parameters that are defined as : type, if I use a function that ends with a definition “)” [end of parameter list; beginning of type of function] “:” it specifies the “type” of function (what I expect when I call the function). <div class=""><br class=""></div><div class="">I have always associated “arrows” with things like mathematical functions, as such when I switch back and forth between languages I immediately switch back to reading arrows in regards to functions. </div><div class=""><br class=""></div><div class="">It probably is only compounded by the other languages that I use where they tend to use -> or => to represent an arrow.</div><div class=""><br class=""></div><div class="">But then each person’s sensibilities are different :p</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 2015-12-24, at 17:44:52, Tino Heth via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><blockquote type="cite" class=""><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">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).</span><br class="Apple-interchange-newline"></div></blockquote></div><br class=""><div class=""><div style="margin: 0px;" class="">That's definitely right: Two different separators only shift the problem by one level, but hopefully it won't become common to deal with "functions having functions as parameters that have function parameters that… ;-)</div><div class="">Also there is the different meaning of ":" ("is a...") and "->" ("returns a…")</div></div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=CGU22LnxbYa2EM3wKvzuC6syQDwKa0tMs5IyT5gL1wL8yF5A7k6YfYaMd8hnA37HI1B3KhsySWPy8wl-2FNVaiK9-2FS6ldk9PSbeV-2FzCzpi460t8Ca1hleer-2Fts9W2jiQLQIT8m22rR2Nl47bukAu-2BkHeGQ8QZ1RTNn32SSFio9lYILLzbv0H12E2VoeyubtJvaBNe5XyzI6koAaeIR8WRagLTDoTFwBr-2Fi8hDlynM45Fc-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;" class="">
</div>
_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-evolution<br class=""></div></blockquote></div><br class=""></div></body></html>