[Python-ideas] Infix matrix-multiply, but not general infix operators?
Ethan Furman
ethan at stoneleaf.us
Fri Mar 21 17:47:21 CET 2014
More information about the Python-ideas mailing list
Fri Mar 21 17:47:21 CET 2014
- Previous message: [Python-ideas] Infix matrix-multiply, but not general infix operators?
- Next message: [Python-ideas] Infix matrix-multiply, but not general infix operators?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 03/21/2014 07:19 AM, Henshaw, Andy 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 Python, however, is not English, and would only recognize two different objects from the above, so that would be a SyntaxError. -- ~Ethan~
- Previous message: [Python-ideas] Infix matrix-multiply, but not general infix operators?
- Next message: [Python-ideas] Infix matrix-multiply, but not general infix operators?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list