29 Jan
2013
29 Jan
'13
11:53 a.m.
On Tue, Jan 29, 2013 at 8:59 PM, Shane Green
Unfortunately "else break" also kind of falls flat on its face when you consider it's being used in context of an expression.
Not really, since comprehensions are all about providing expression forms of the equivalent statements. I'm not saying "else break" would get approved (I actually don't think that's likely for other reasons), just that it isn't clearly dead in the water due to the inconsistency with the statement semantics (which is the core problem with the "while" suggestion). Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia