<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=""><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 19, 2016, at 19:07, Jonathan Hull via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div></blockquote>&lt;snip&gt;<br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">There are a bunch of symbols in unicode which are hard to tell apart, and those are bad for recognition, and we should deal with that, but this proposal is throwing the baby out with the bathwater, then lighting the baby on fire. &nbsp;Honestly, I would propose we find a way to have Swift see certain classes of characters as identical. &nbsp;Can’t decide which of the thousand + symbols should be the one true + symbol? &nbsp;Have them all map to one of them. &nbsp;That emoji X symbol looks like X, so map it to X.</div></div></div></blockquote><br class=""></div><div><br class=""></div><div><div>Agreed.</div><div><br class=""></div><div>I really like the option of using unicode operators in swift. &nbsp;Removing them would be disappointing. &nbsp;But I do see the problem that there are a lot of redundancies and sources of confusion if there are no restrictions. &nbsp;Aside from the redundancies, some other cases that I find sub-optimal are: 'top-half of integral'&nbsp;<span style="color: rgb(51, 51, 51); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: rgb(249, 249, 249);" class="">⌠,&nbsp;</span><span style="color: rgb(51, 51, 51); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgb(249, 249, 249);" class="">and</span><span style="color: rgb(51, 51, 51); font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; background-color: rgb(249, 249, 249);" class="">&nbsp;</span>&nbsp;'<font color="#333333" face="Open Sans, Helvetica Neue, Helvetica, Arial, sans-serif" class=""><span style="background-color: rgb(255, 255, 255);" class="">left parenthesis upper hook</span><span style="background-color: rgb(255, 255, 255);" class=""><span style="font-size: 14px;" class="">’&nbsp;</span></span></font><span style="background-color: rgb(255, 255, 255);" class=""><font color="#333333" face="Open Sans, Helvetica Neue, Helvetica, Arial, sans-serif" class=""><span style="font-size: 14px;" class="">⎛ ; &nbsp;</span>these<span style="font-size: 14px;" class="">&nbsp;</span>don’t really seem like symbols we want to allow as operators. &nbsp;Perhaps *one*&nbsp;general rule here, is that symbols specifically meant for 2d math expressions aren't good candidates for inclusion, at least at the present. &nbsp;Another difficult one, I think,&nbsp;are the bracket-like glyphs. &nbsp;</font></span><span style="background-color: rgb(255, 255, 255);" class=""><font color="#333333" face="Open Sans, Helvetica Neue, Helvetica, Arial, sans-serif" class="">While these&nbsp;would be useful in certain math and physics related code, it’s not clear at the moment how these&nbsp;could be used in swift,&nbsp;until and unless&nbsp;</font></span><span style="background-color: rgb(255, 255, 255);" class=""><font color="#333333" face="Open Sans, Helvetica Neue, Helvetica, Arial, sans-serif" class="">some kind of&nbsp;‘bracket overloading’&nbsp;is made possible.</font></span><div class=""><br class=""></div><div class=""><div class="">I’m in favor of what Johnathan Hull has suggested above. &nbsp;I’m also in favor of what some others have suggested, i.e., restricting the allowed operator symbols to some uncontroversial subset, mainly from the unicode ‘math’ category of symbols, and then possibly adding more as needed.</div><div class=""><br class=""></div><div class="">-Matt</div></div></div></div><br class=""></body></html>