[Python-ideas] [RFC] draft PEP: Dedicated infix operators for matrix multiplication and matrix power

Chris Angelico rosuav at gmail.com
Wed Apr 9 05:52:16 CEST 2014


On Wed, Apr 9, 2014 at 1:33 PM, Guido van Rossum <guido at python.org> wrote:
> The question is academic. Regardless of which answer you choose that is not
> going to happen.
>
> On Tue, Apr 8, 2014 at 11:30 PM, Chris Angelico <rosuav at gmail.com> wrote:
>>
>> Is "a @ b" equivalent to "lambda x: a(b(x))" or to "lambda x:
>> b(a(x))"? Is there a sufficiently-obvious way to make it clear that
>> the one on the right gets called first?

Well there you go, that settles it :)

ChrisA


More information about the Python-ideas mailing list