[Python-ideas] Infix matrix-multiply, but not general infix operators?
Cem Karan
cfkaran2 at gmail.com
Fri Mar 21 17:24:28 CET 2014
On Mar 21, 2014, at 10:19 AM, "Henshaw, Andy" <Andy.Henshaw at gtri.gatech.edu> wrote:
> 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
For those whose first language is not USA English:
http://en.wikipedia.org/wiki/Buffalo_Buffalo_Buffalo_Buffalo_Buffalo_Buffalo
Thanks,
Cem Karan
More information about the Python-ideas
mailing list