[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-ideas
Subject:    Re: [Python-ideas] Partial operator (and 'third-party methods' and 'piping') [was Re: Function compo
From:       Rustom Mody <rustompmody () gmail ! com>
Date:       2015-05-12 11:39:41
Message-ID: CAJ+Teoc0X7-m94jzegZUwr6hTdJchQ4D-Q4ocOPw54hQ2ZwzcQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Tue, May 12, 2015 at 2:06 PM, Philipp A. <flying-sheep@web.de> wrote:

> ha, i love unicode operators (e.g. in scala), but i think guido said
> python will stay ASCII.
>

Or Julia
http://iaindunning.com/blog/julia-unicode.html

Also Fortress, Agda and the classic APL

Interestingly Haskell is one step ahead of Python in some areas and behind
in others
---------
GHCi, version 7.6.3: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude> let (x₁, x₂) = (1, 2)
Prelude> (x₁, x₂)
(1,2)
Prelude>

---------

However wrt getting ligatures right python is ahead:
[Haskell]

Prelude> let flag = True
Prelude> flag

<interactive>:5:1: Not in scope: `flag'

[Equivalent of NameError]
-------------
[Python3]

>>> flag = True
>>> flag
True

[Attachment #5 (text/html)]

<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May \
12, 2015 at 2:06 PM, Philipp A. <span dir="ltr">&lt;<a \
href="mailto:flying-sheep@web.de" target="_blank">flying-sheep@web.de</a>&gt;</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"><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></div></div></div></div></blockquote><div \
class="gmail_signature"><br>Or Julia <br><a \
href="http://iaindunning.com/blog/julia-unicode.html">http://iaindunning.com/blog/julia-unicode.html</a><br><br></div><div \
class="gmail_signature">Also Fortress, Agda and the classic APL<br><br></div><div \
class="gmail_signature">Interestingly Haskell is one step ahead of Python in some \
areas and behind in others<br>---------<br>GHCi, version 7.6.3: <a \
href="http://www.haskell.org/ghc/">http://www.haskell.org/ghc/</a>   :? for \
help<br>Loading package ghc-prim ... linking ... done.<br>Loading package integer-gmp \
... linking ... done.<br>Loading package base ... linking ... done.<br>Prelude&gt; \
let (x₁, x₂) = (1, 2)<br>Prelude&gt; (x₁, x₂)<br>(1,2)<br>Prelude&gt; \
<br><br>---------<br><br></div><div class="gmail_signature">However wrt getting \
ligatures right python is ahead:<br></div><div \
class="gmail_signature">[Haskell]<br><br></div><div \
class="gmail_signature">Prelude&gt; let flag = True<br>Prelude&gt; \
flag<br><br>&lt;interactive&gt;:5:1: Not in scope: `flag&#39;<br><br></div><div \
class="gmail_signature">[Equivalent of NameError]<br></div><div \
class="gmail_signature">-------------<br></div><div \
class="gmail_signature">[Python3]<br></div><div \
class="gmail_signature"><br>&gt;&gt;&gt; flag = True<br>&gt;&gt;&gt; \
flag<br>True<br><br></div></div> </div></div>



_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic