Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114157 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 39747 invoked from network); 25 Apr 2021 19:22:55 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 25 Apr 2021 19:22:55 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id AB6DE1804CC for ; Sun, 25 Apr 2021 12:26:46 -0700 (PDT) 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.6 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 autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 25 Apr 2021 12:26:46 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 486BD5C0072 for ; Sun, 25 Apr 2021 15:26:46 -0400 (EDT) Received: from imap8 ([10.202.2.58]) by compute4.internal (MEProxy); Sun, 25 Apr 2021 15:26:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=sZw4xCxDw7u64j9+et8nNQpi2Y2U8 5xGiWpcmRVS2bk=; b=o80ZOU5RmSRzBv5M9l/RRcEUo0z4jJVJjstsx/MsyX5S9 vafT3P2XvCk+8c/MwiE8N1C+g4dSTWdfhGzxsr4s0Le3p95R9Mp0UILDGLRV8BBE YKi33omUlGwVUePVrj0CQBHw8J1aMSnchnwuFOMhWC9rYGxxXZcT7gg1ZzGJgMbm M10Q0wwsml1aXVoHkbwSt8lBXqwlTXDAaZMM5oEM9Yvm0aw3CIrW2sEKwF0PWbub THzEq7GZc/EgnuZQ2/fzbu8KimXG9WQd88UG4m12AFDzqVaGqRM9wskDpfhzjKzy 4rVlfjItYRS+3X0JX+4xa7u+Xk7YfrALeQsAk+C6A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdduiedgudegtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfffhffvufgtsehttdertderredtnecuhfhrohhmpedfnfgrrhhr hicuifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomh eqnecuggftrfgrthhtvghrnhepgeehffeihfdtkeefveffueeiiefhjeduhfeuhfdtteel lefhvdejteekgffgueeinecuffhomhgrihhnpehphhhprdhnvghtnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgrrhhrhiesghgrrhhfihgv lhguthgvtghhrdgtohhm X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id D37D93A02D2; Sun, 25 Apr 2021 15:26:45 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-403-gbc3c488b23-fm-20210419.005-gbc3c488b Mime-Version: 1.0 Message-ID: Date: Sun, 25 Apr 2021 14:25:42 -0500 To: "php internals" Content-Type: text/plain Subject: [RFC] Partial function application From: larry@garfieldtech.com ("Larry Garfield") Greetings, Internalians! I would like to offer for your consideration another RFC, specifically syntax for partial function application. https://wiki.php.net/rfc/partial_function_application It includes an implementation by Joe Watkins that is already about 95% complete. (There's some edge cases he's still sorting out, but all of the typical cases should work already.) Most of the design work comes from Levi Morrison and Paul Crovella. I helped out with the tests, a few edge bits, and general instigator/nudge. :-) Discuss. -- Larry Garfield larry@garfieldtech.com