On 2020-05-20 23:16, James Lu wrote:
"<:" Does not give the user any intuition about what it does.
"<~" Ok, but same problems as "<:" and precludes the use of "<~~" due to 
Python's parser.
"::" Could be confused with Haskell's type declaration operator.

If we want to avoid confusion with the walrus operator, "options!?=..."  is a decent 
alternative. It can be remembered as "if not there? equal to" [! there? =].

"<~" isn't OK because "<" is a binary operator and "~" is a unary operator, so that's the same as "< ~".
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/C4C67BD4H4B6ZQOW2OHNOG5WFG2OTPUX/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to