[Python-ideas] Partial operator (and 'third-party methods' and 'piping') [was Re: Function composition (was no subject)]

Rustom Mody rustompmody at gmail.com
Tue May 12 13:27:41 CEST 2015


On Tue, May 12, 2015 at 2:06 PM, Philipp A. <flying-sheep at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150512/98d6da3f/attachment.html>


More information about the Python-ideas mailing list