<div dir="ltr">Python already supports unicode operators (kind of). You just have to use a custom codec that translates the unicode characters to proper python.<br></div><br><div class="gmail_quote">On Tue, 12 May 2015 at 10:42 Philipp A. <<a href="mailto:flying-sheep@web.de">flying-sheep@web.de</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>ha, i love unicode operators (e.g. in scala), but i think guido said python will stay ASCII.<br><br></div>i hope we one day gain the ability to <i>optionally</i> use unicode alternatives, even if that would put an end to our __matmul__ → function combination aspirations:<br><br>* → ·<br></div><div>@ → × (not ∘)</div><div>/ → ÷<br>... → …<br></div>lambda → <span lang="el">λ</span><br><br></div><div>– phil<br></div></div><div dir="ltr"><div><br><div class="gmail_quote">Rustom Mody <<a href="mailto:rustompmody@gmail.com" target="_blank">rustompmody@gmail.com</a>> schrieb am Di., 12. Mai 2015 um 07:07 Uhr:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, May 11, 2015 at 8:11 PM, Guido van Rossum <span dir="ltr"><<a href="mailto:guido@python.org" target="_blank">guido@python.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><div dir="ltr"><div><br></div><div>As long as I'm "in charge" the chances of this (or anything like it) being accepted into Python are zero. I get a headache when I try to understand code that uses function composition,</div></div></blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>I find it piquant to see this comment from the creator of a language that traces its lineage to Lambert Meertens :-)<br></div><div>[Was reading one of the classics just yesterday<br><a href="http://www.kestrel.edu/home/people/meertens/publications/papers/Algorithmics.pdf" target="_blank">http://www.kestrel.edu/home/people/meertens/publications/papers/Algorithmics.pdf</a><br>]<br></div><div>Personally, yeah I dont think python blindly morphing into haskell is a neat idea<br></div><div>In the specific case of composition my position is... <br><br>sqrt(mean(square(x)))<br>is ugly in a lispy way<br><br>(sqrt @ mean @ square)(x)<br>is backward in one way<br><br>(square @ mean @ sqrt)(x)<br>is backward in another way<br><br>sqrt @ mean @ square<br>is neat for being point-free and reads easy like a Unix '|' but the '@' is more strikingly ugly<br><br>sqrt o mean o square<br>is a parsing nightmare<br><br>square ∘ mean ∘ root<br>Just right!  [Assuming the unicode gods favor its transmission!]<br><br></div><div>...hopefully not too frivolous to say this but the ugliness of @ overrides the succinctness of the math for me<br></div><div><br><br></div></div>
</div></div>
_______________________________________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org" target="_blank">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" target="_blank">https://mail.python.org/mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" target="_blank">http://python.org/psf/codeofconduct/</a></blockquote></div></div></div>
_______________________________________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org" target="_blank">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" target="_blank">https://mail.python.org/mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" target="_blank">http://python.org/psf/codeofconduct/</a></blockquote></div>