Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84178 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56616 invoked from network); 2 Mar 2015 19:05:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Mar 2015 19:05:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=me@kelunik.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=me@kelunik.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kelunik.com from 81.169.146.217 cause and error) X-PHP-List-Original-Sender: me@kelunik.com X-Host-Fingerprint: 81.169.146.217 mo4-p00-ob.smtp.rzone.de Received: from [81.169.146.217] ([81.169.146.217:55009] helo=mo4-p00-ob.smtp.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A3/76-14834-274B4F45 for ; Mon, 02 Mar 2015 14:05:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1425323120; l=2435; s=domk; d=kelunik.com; h=Content-Type:Cc:To:Subject:Date:From:References:MIME-Version; bh=DZ5VYWzy/eHphiWo23BIXA38WgR8g2ChEMK0uoPWCpo=; b=OE1dIXFT1qyDiJ0Px42jYcHNMmxqOCwdTcReboaifLGA1ORxu/uxl5ILFyKHcxy5zzp P8YKPqUGoApc9cOOlrKxz6uVM907Xetd5B4cX0+Yj28sGDC4U9KURzpLWpedj3qo6UPvz nJJLlUtU6vS0v3lRV6UZDj7NfE1D4LYz18o= X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLDup6E67mzuoNNBqD/uL4= X-RZG-CLASS-ID: mo00 Received: from mail-wi0-f178.google.com ([209.85.212.178]) by smtp.strato.de (RZmta 37.3 AUTH) with ESMTPSA id z0693br22J5K5hA (using TLSv1.2 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) for ; Mon, 2 Mar 2015 20:05:20 +0100 (CET) Received: by wivr20 with SMTP id r20so17287072wiv.2 for ; Mon, 02 Mar 2015 11:05:20 -0800 (PST) X-Received: by 10.180.11.205 with SMTP id s13mr38455561wib.32.1425323120181; Mon, 02 Mar 2015 11:05:20 -0800 (PST) MIME-Version: 1.0 References: Date: Mon, 02 Mar 2015 19:05:19 +0000 Message-ID: To: Daniel Lowrey Cc: internals Content-Type: multipart/alternative; boundary=001a11c23eee44cb34051052e673 Subject: Re: [PHP-DEV] [RFC Discuss] Generator Delegation From: me@kelunik.com (Niklas Keller) --001a11c23eee44cb34051052e673 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I prefer yield from, because it yields that value from the generator. Yield use doesn't make any sense to me if I read those words. Additionally, it's already used by another language. Regards, Niklas Daniel Lowrey schrieb am Mo., 02.03.2015, 17:13: > From initial discussions it seems prudent to modify the Generator > Delegation RFC to use either of: > > - yield from > - yield use > > The `yield from` form would add a single T_YIELD_FROM token (as opposed t= o > a new "from" reserved word). The `yield use` form would reuse existing > keywords. I'd like to get feedback from people on preferences between the= se > two options before modifying the RFC. If general consensus isn't reached > this can be a voting option, but I prefer a traditional yes/no vote > to m=C3=A9nage =C3=A0 trois. > > Thanks again for your participation. > --001a11c23eee44cb34051052e673--