Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108601 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 57950 invoked from network); 15 Feb 2020 18:46:38 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Feb 2020 18:46:38 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D726518054B for ; Sat, 15 Feb 2020 09:01:35 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_NONE,SUBJ_ALL_CAPS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS11403 66.111.4.0/24 X-Spam-Virus: No X-Envelope-From: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 15 Feb 2020 09:01:35 -0800 (PST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 7CC8721BBE for ; Sat, 15 Feb 2020 12:01:34 -0500 (EST) Received: from imap26 ([10.202.2.76]) by compute7.internal (MEProxy); Sat, 15 Feb 2020 12:01:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=tRhLkvuzMkMkAhpUzjD/zv47h3vgG0WBUSxB8eRq4 to=; b=Gdy+Sd28JEbnNtL3LPEdXV2xy0679CghMzmalHAdtstaUob8XwSY3TDed JByEtFgAUTcT59Ytb1Y/W3EmrTD4I1rz2o0XS2l0ZuNt0CS4vL6yepu2SSgS3SRZ Bf7cPo9V2pzvwW6U7I9PvkLir7QDCQlhVnVAMXfE49n37GbQfW7tr3GTppDaGvuy MGVpW7fh2OxPjQq2oJb8lni0AGnj6511C+1OkTkhP3TKWFfIjH90UlHEiB985pYE k+qvsOdeW22KCXWpcAaI1dgeEZMlvlMGiwUKpLrfPz4reu17G4dWOE2Ufx0i1zSw FFJ0FsZocpBZuqGttqtq020E6xajA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrjedvgdellecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtgfesthhqredtreerjeenucfhrhhomhepfdfnrghr rhihucfirghrfhhivghlugdfuceolhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtoh hmqeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehl rghrrhihsehgrghrfhhivghlughtvggthhdrtghomh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 23A5514200A2; Sat, 15 Feb 2020 12:01:34 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-802-g7a41c81-fmstable-20200203v1 Mime-Version: 1.0 Message-ID: <26c03586-798b-4e28-a78f-7326a38949d8@www.fastmail.com> In-Reply-To: <17048bed3be.d504db79162980.4703631943717571842@manuelcanga.dev> References: <10FCCCED-B8AE-4394-91B3-0FEB448E2398@gmail.com> <2C404984-AD76-4CDF-8E1A-04DF8EF024DD@newclarity.net> <0BE8FC1E-A9BF-4A2A-9CA5-59BEE1245632@gmail.com> <938FDD44-1F60-4FE1-B0F1-E70284F5F2D2@newclarity.net> <4760949c-abcd-47ab-9553-4e65db80fbd8@www.fastmail.com> <17048bed3be.d504db79162980.4703631943717571842@manuelcanga.dev> Date: Sat, 15 Feb 2020 11:01:13 -0600 To: "php internals" Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] From: larry@garfieldtech.com ("Larry Garfield") On Sat, Feb 15, 2020, at 6:07 AM, Manuel Canga wrote: >=20 > ---- En s=C3=A1b, 15 feb 2020 09:22:41 +0100 Larry Garfield=20 > escribi=C3=B3 ---- > > On Fri, Feb 14, 2020, at 1:04 AM, Manuel Canga wrote: > >=20 > > > Maybe, bettern fn: * fn(callable $to_clsoure ): *closure ? > > >=20 > > > I know fn is used in arrow functions. However, for that same=20 > reason fn is > > > the most convenient. > > >=20 > > > Using dik examples( by the way, they are brilliant ): > >=20 > > Point of order: The Stats analyzer examples were from me, not Dik.=20= > :-) They're taken from one of the monad chapters in the book I'm=20 > working on. > >=20 > > --Larry Garfield > >=20 >=20 > By the way...the following is for folks in internals: >=20 > Do you think it is worth creating an RFC page about :: function ? I sa= y=20 > that because I see that there are many voices against of :: function There seems to be little pushback on the idea of a better way to name/re= ference functions, so an RFC page for that seems reasonable. What the s= yntax is, that's still in heavy bikeshed territory, so maybe don't name = the RFC based on the implementation detail yet. :-) I'd love to get some input from Nikita or Dimitry or someone else with w= ay more parser experience on how feasible any of the options discussed s= o far would be; if some are vastly more straightforward than others, tha= t carries a lot of weight. --Larry Garfield