[Python-ideas] Infix matrix-multiply, but not general infix operators?
Henshaw, Andy
Andy.Henshaw at gtri.gatech.edu
Fri Mar 21 15:19:42 CET 2014
From: Python-ideas [mailto:python-ideas-bounces+andy.henshaw=gtri.gatech.edu at python.org] On Behalf Of Ethan Furman
>On 03/20/2014 08:40 PM, Andrew Barnert wrote:
>>
>> Also, imagine what it would look like to chain these:
>>
>> spam spam eggs baked beans spam spam
>>
>> Maybe the parser can figure out that the spam, baked, and spam are
>> operators and the spam, eggs, beans, and spam are operands, but what
>> hope does any human have?
>
> Why would spam be able to be both a variable and an operator?
> Hmm, perhaps because of the first-class citizen thing -- so the
> leading grit says "make it work" and without it is just passing it around.
Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo
More information about the Python-ideas
mailing list