On Wed, Sep 29, 2021 at 02:09:03PM -0700, Guido van Rossum wrote: > Over in typing-sig we're considering a new syntax for callable *types*, > which would look like (int, int, str) -> float. A matching syntax for > lambda would use a different arrow, e.g. (x, y, z) => x+y+z.
I like arrow operators :-) But I fear that it will be too easy to misread `=>` as greater than or equal to, especially when skimming code. Assuming that they need to be different arrows, how do you feel about `->` for types and annotations, and `-->` for lambdas? Or `->>`? _______________________________________________ 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/QG5CBMI4JS7DQSFCVDSMHTMSUPZW7P2M/ Code of Conduct: http://python.org/psf/codeofconduct/