Guido van Rossum <guido at python.org> writes: >> Doesn't have to be a keyword... I implemented something like this >> years ago and then ditched it when list comps appeared. >> >> It would let you do things like >> >> >>> map(X + 1, range(2)) >> [1, 2, 3] > > What was your notation like? Did you actually use 'X'? Um, I think so. I defined it in my $PYTHONSTARTUP file as an instance of a class _X, or something like that. Cheers, mwh -- In many ways, it's a dull language, borrowing solid old concepts from many other languages & styles: boring syntax, unsurprising semantics, few automatic coercions, etc etc. But that's one of the things I like about it. -- Tim Peters, 16 Sep 93
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4