Or more likely in actual use:
for x in filter( LAMBDA-EXP, list ): do_something
where LAMBDA-EXP is whatever the syntax in 1.0 is going to be for
some simple test, like 'x[:3] == key' .
I like the OTHER syntax better, but I see the problem with it.
But perhaps lambda will introduce similar problems. (?) Can you
have a multi-line lambda ? If not, how does IT parse if/else ?
Which brings us back to the question of the need for a Literal
token for INDENT/DEDENT.
- Steve M.