Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98073 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89727 invoked from network); 31 Jan 2017 12:16:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Jan 2017 12:16:37 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@ohgaki.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@ohgaki.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ohgaki.net designates 180.42.98.130 as permitted sender) X-PHP-List-Original-Sender: yohgaki@ohgaki.net X-Host-Fingerprint: 180.42.98.130 ns1.es-i.jp Received: from [180.42.98.130] ([180.42.98.130:56236] helo=es-i.jp) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9B/A3-51557-42080985 for ; Tue, 31 Jan 2017 07:16:37 -0500 Received: (qmail 40510 invoked by uid 89); 31 Jan 2017 12:16:33 -0000 Received: from unknown (HELO mail-wm0-f41.google.com) (yohgaki@ohgaki.net@74.125.82.41) by 0 with ESMTPA; 31 Jan 2017 12:16:33 -0000 Received: by mail-wm0-f41.google.com with SMTP id b65so76423562wmf.0 for ; Tue, 31 Jan 2017 04:16:32 -0800 (PST) X-Gm-Message-State: AIkVDXLI1P4zM4O6xxFy0ei2vonWmI4keEZxk8Ql3NatcZviyw3ZgA+f1ODC0GC13g0jAtg3cD6JftqCuD1cBQ== X-Received: by 10.223.176.142 with SMTP id i14mr27835314wra.4.1485864985884; Tue, 31 Jan 2017 04:16:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.195.12.8 with HTTP; Tue, 31 Jan 2017 04:15:45 -0800 (PST) In-Reply-To: References: Date: Tue, 31 Jan 2017 21:15:45 +0900 X-Gmail-Original-Message-ID: Message-ID: To: Nicolas Grekas Cc: Levi Morrison , internals , Niklas Keller Content-Type: multipart/alternative; boundary=001a11419362ab086f054762e62a Subject: Re: [PHP-DEV] [RFC][Discuss] Arrow Functions From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11419362ab086f054762e62a Content-Type: text/plain; charset=UTF-8 On Tue, Jan 31, 2017 at 9:06 PM, Nicolas Grekas < nicolas.grekas+php@gmail.com> wrote: > Or just drop any "fn" or "function" keyword, eg > > ($x, $y) => foo($x, $y); > > array_map(($x) => $x + 1); > > ? > I like your syntax if it cannot be like ES2015 syntax. -- Yasuo Ohgaki yohgaki@ohgaki.net --001a11419362ab086f054762e62a--