Christopher Olah
In mathematical notation, f*g = z->f(g(z)) and f^n = f*f*f... (n
times). I often run into situations in python where such operators
could result in cleaner code.
Python has a general mechanism for composing functions to make new
functions: the def statement. "z = f*g" is a spe
Firstly, apologies for posting to the wrong list. Since I was fiddling
around with a modification to the language, if the implementation
details of something I'd never expect to get accepted, I'd thought
python-dev might be appropriate... In retrospect, it is fairly clear
that it was the wrong choi
On 07/18/2010 05:52 PM, Reid Kleckner wrote:
> Usual disclaimer: python-dev is for the development *of* python, not
> *with*. See python-list, etc.
Moving to python-list. Please keep discussion there.
>
> That said, def declares new functions or methods, so you can't put
> arbitrary expressions