Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114160 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 45350 invoked from network); 25 Apr 2021 19:47:01 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 25 Apr 2021 19:47:01 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 7FA8E1804DC for ; Sun, 25 Apr 2021 12:50:52 -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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 25 Apr 2021 12:50:52 -0700 (PDT) Received: by mail-lf1-f48.google.com with SMTP id z13so4067534lft.1 for ; Sun, 25 Apr 2021 12:50:51 -0700 (PDT) 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 :cc; bh=qrVcAAnAUT1FyGKUKNWvfmz3+ONMWN4nM257DzswX/I=; b=fmF7z/jZjluS53Kb2UbcoIcYR6b9DVZdg3rV/jicDdr0bZir8XV9qRWTz1doPZkjpb hU2qN86+IIhOn04nVKSOZWQq3goj1OEcMdfS7XWPn/RI+k/DV4pFCIXdzLMLTGSCx6P/ wzffCObLn0Cw0WQC9R71fAjmGjQKplLmnbGYTgQSFlGltZvFKmOsZJkLMx+m+xWPMbPn fHaK1kb6h8zhJGCNooE7wmlkkI0unoaD2n8P4Y5ZrkczUWooGJqSl1tGyboPL8GIt4Wv ynO5lQgFAVGg4gRzal47/Ap0HO2qB/9f7b/K/PXkmeyOwy06HcWbTs13tsgrkzUzXiJU 8aiQ== 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:cc; bh=qrVcAAnAUT1FyGKUKNWvfmz3+ONMWN4nM257DzswX/I=; b=CVqwL92hafJnRkuoIvKtShU3/VmyphTaKWGWxcxpZY1y6bWOAIOGF/N/JFIh+91H8e GjdGD0+cczQt8fYK5ghd8TtglNJsfvOQIHQ319pgSPsYmobsH1qxL8+dwAu/JY+7O18r aHuOrKjfyXzBLVS9TI6FKmz/aw/Ol13gNXS7mAjYvDaTh72kEdgzrV0KbJKacL88My8V QLoHeQqOGpCXQYorfP3fBimp33vMk12b7+tMjZZDCfdTWy0AU9V/mEu56Eli+KsX4hN6 P5Xkdh5N5zLeKXiOnO+ZTPcFLSMnlBpEDZyqGmnz3QXaEaPiJ/bX81gdiXeOhrIhOvyU 6OtQ== X-Gm-Message-State: AOAM532GS/jegN/TFHBO/55dbrK3mbYo2vUQhf/lWIynvarpcoUL/Da1 XDWHzuIe9zyZZEpDocbHPmejly5U2VRM5hNVDe0dFlzT X-Google-Smtp-Source: ABdhPJy4rT6qSIkuhAgJ2ELGKEKBbyRJL5Dpl1IUFdMsrdcDnlRMiQSj+U3rgi37tWwSBLrGf+yBJg5Z67MpKR01GGE= X-Received: by 2002:a05:6512:b1a:: with SMTP id w26mr10007469lfu.418.1619380250346; Sun, 25 Apr 2021 12:50:50 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab3:4e13:0:0:0:0:0 with HTTP; Sun, 25 Apr 2021 12:50:49 -0700 (PDT) In-Reply-To: References: Date: Sun, 25 Apr 2021 21:50:49 +0200 Message-ID: To: Larry Garfield Cc: php internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC] Partial function application From: olleharstedt@gmail.com (=?UTF-8?Q?Olle_H=C3=A4rstedt?=) 2021-04-25 21:25 GMT+02:00, 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 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php > > Nice. :) Are there any other motivating use-cases besides pipe operator (that are relevant for web dev)? Olle