On Monday 27 October 2003 10:13 pm, Raymond Hettinger wrote: ... > Several people initially thought that lambda should be part of the yield was repeatedly mentioned, and I don't recall lambda being, so maybe this is a typo. > syntax, but other respondants quickly laid that to rest. Yes, consensus clearly converged on the proposed syntax (the mention of "generators" in the construct's name was the part that I think prompted the desire for 'yield' -- had they been called "iterator expressions" I suspect nobody would have missed 'yield' even transiently:-). > One poster counter-suggested a weird regex style syntax for embedding > Perl expressions. The newsgroup was very kind and no one called him > wacko :-) ...though I did say "if you want Perl, you know where to find it"...:-) > The discussion is winding down and there are no unresolved questions. Yes, fair summary. The one persistent (but low-as-a-whisper) grumbling is by one A.M., who keeps mumbling "they're _iterator_ expressions, the fact that they use generators is an implementation detail, grmbl grmbl":-). But then, he IS one of those pesky must-always-have-SOME-whine types. Alex
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