Am 02.03.2015 00:52 schrieb "Daniel Lowrey" <rdlow...@php.net>:
>
> I'd like to initiate discussion on a proposal to implement generator
> delegation via the following new syntax inside generator functions:
>
>     yield * <expr>
>
> The Generator Delegation RFC is available here:
>
> https://wiki.php.net/rfc/generator-delegation

I like the feature. The syntax is awful. What about "yield use (expr)"? No
new keywords, somewhat gramatical, and currently invalid syntax, as far as
I can tell.

Patrick

Reply via email to