Steven D'Aprano writes:

 >     lambda a, b, c: a+b*c
 >     (a, b, c) -> a+b*c

Of course, the mathematicians' spelling would be

    (a, b, c) |-> a+b*c

(Don't bother throwing things, I'm already a 5km down the road.)
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/2ZAITS4HNVADQFDTYRYPRXT5R2MTXWGH/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to