Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98149 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96025 invoked from network); 3 Feb 2017 22:26:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Feb 2017 22:26:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=tendoaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tendoaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.41 as permitted sender) X-PHP-List-Original-Sender: tendoaki@gmail.com X-Host-Fingerprint: 209.85.213.41 mail-vk0-f41.google.com Received: from [209.85.213.41] ([209.85.213.41:35160] helo=mail-vk0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1F/48-38491-F8305985 for ; Fri, 03 Feb 2017 17:26:23 -0500 Received: by mail-vk0-f41.google.com with SMTP id x75so22531099vke.2 for ; Fri, 03 Feb 2017 14:26:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=eHEYkSywwpnLHwRObTvBMJ4rjMHW3GZtCGRlmC2b7ns=; b=uYaHEQCPfQGm8q3pQKmKHo+z+2IGpI9yg792pNslfCJEQA5pgSQLZ/4L6gx4coO2Gu CeEUAa+qum4Ni3hIxoptkQGVQPEi6Lff2O6WwIqlW2fanz2dyE+qJt1v+Y9Iq+XduRgX zUdcsCFVamyV863cVX/d5c12UB29qFiqV5S9yihStY+0MNHUIpFH6wl2QI+B64C0iuFN 5lG57G877OgK3QWus/nMxjEMmJMPnW0WlSM9UKyqQE0XdbXqhETVxDw5S3NxbnV5XmSD QK/SLgN5ZA0f4M0o7/dt85asyDTwX8MUryeUjooX5y9aWYnXCTVqXuWOiqqM/K1w67vI MHbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=eHEYkSywwpnLHwRObTvBMJ4rjMHW3GZtCGRlmC2b7ns=; b=P142rapPvUXRQKCOmoUlcrOkmedrZNtiZ6Q8oijVTQ/6GXZt+QDOQZiZagD0hddpeP 1+5h+gxbnKbUBNGcRE+Y0GtDCujjZGJvB/b+DyCJETYX4Dv2UTt8+82J/8h3U7V1ecb6 VA0qs8lUcBrIjXibUi4NNSV+uEKkUr2PKF6TI8/R2oDqJTpjQXLrfUZVgUcZ1rGn7Hbg tRzukBkQpHYQXOg9gZAknbhGch2JpicZgABVWWYWmY/44rD2V3eHRTxAAYUfNRzulMZP fOtFjUQGsVG/tK8hkBbjBrCgBsxI7VBFVW1gfukiSEZscpfujnD6fEckWMLmIDQUoHV7 xMiQ== X-Gm-Message-State: AIkVDXKOn6FB4YvXxkwZ3g8/fr13jNXDiSQeFl5z1BC8EXMvBD6qqzEjoleWsGWxyFZhENwNf5jDXrJ/NOxXHw== X-Received: by 10.31.191.71 with SMTP id p68mr6504757vkf.50.1486160780532; Fri, 03 Feb 2017 14:26:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.35.15 with HTTP; Fri, 3 Feb 2017 14:26:19 -0800 (PST) In-Reply-To: References: <19.45.38491.677D4985@pb1.pair.com> Date: Fri, 3 Feb 2017 17:26:19 -0500 Message-ID: To: internals Content-Type: multipart/alternative; boundary=001a114ddaf867247b0547a7c5a0 Subject: Re: [PHP-DEV] Re: [RFC][Discuss] Arrow Functions From: tendoaki@gmail.com (Michael Morris) --001a114ddaf867247b0547a7c5a0 Content-Type: text/plain; charset=UTF-8 On Fri, Feb 3, 2017 at 3:37 PM, Niklas Keller wrote: > > > There are more drawbacks to that syntax like no parameters looking pretty > weird: || => > > I can't think of a valid example of an arrow function without any arguments at all. These functions are very simple iterators to plug into things like array_map. If you can think of one please post it. --001a114ddaf867247b0547a7c5a0--