[Python-ideas] Operator as first class citizens -- like in scala -- or yet another new operator?
Ricky Teachey
ricky at teachey.org
Wed May 22 22:48:44 EDT 2019
Can I offer an alternative suggestion?
How about these arrow operators, which despite being 3 characters, look
pretty nice, and are not currently valid python:
a <== b <== c
a ==> b ==> c
Perhaps __larrow__ and __rarrow__ for the dunders.
And they would not be the only 3 character operators in python:
//=, **=, >>=, <<=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20190522/2ebfb435/attachment.html>
More information about the Python-ideas
mailing list