A replacement for lambda
jepler at unpythonic.net
Sun Jul 31 00:34:02 CEST 2005
On Fri, Jul 29, 2005 at 10:14:12PM -0700, Tim Roberts wrote:
> C++ solves this exact problem quite reasonably by having a greedy
> tokenizer. Thus, that would always be a left shift operator. To make it
> less than and a function, insert a space:
> <x**2 with(x)>< <x**3 with(x)>
Incidentally, I read in an article by Bjarne Stroustrup that "C++0x" will parse
just like today's compilers parse
vector<vector<double> > v;
Another of the changes he discusses, letting 'auto i = ...' create i
with the type of the expression '...', will certainly be an improvement.
Even better if the keyword 'auto' could be made optional! (Of course,
this is another break with C, where the declaration
makes 'i' an int)
And what's this got to do with Python? I dunno. Sorry.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
More information about the Python-list