Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115181 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 4010 invoked from network); 28 Jun 2021 16:12:45 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 28 Jun 2021 16:12:45 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 301AD180507 for ; Mon, 28 Jun 2021 09:32:33 -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=-0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,URIBL_SBL, URIBL_SBL_A autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (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 ; Mon, 28 Jun 2021 09:32:29 -0700 (PDT) Received: by mail-lf1-f54.google.com with SMTP id w19so5087904lfk.5 for ; Mon, 28 Jun 2021 09:32:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=otfoCeDzzrF1rG6INj/+wZ3EJiFX3u06t9BQYMsag5w=; b=YXBP6T1yKEspBhvgkxS6qNodDz79Ag2IeGcYNI61Z2m0A+5ARRKaC0Whwo/Yb0acwP BJ+WgP1DATBxzgnHejoOQqPx/plsibcWBZwjl1UfSQ8W+poLP8MrfTiDezVcJ/Q6/LYh IUoy1hZ/kel1oYctLeUzcmUhwv5qvkk6hTwWcIq9B2w2JLWvcSSBW6Ighi669yey66hK JgCO+h1S7+gn5o/x17m8wYi/h6wwswVuxKr73GMztJ9mXKkpQXklSE2FjYrDNhEXRu4C tZCZm9dTCdUi3P+eZIZZYEjNtxmakJWhCNUSvqd00nkT0Zl1pdtaEpaSyG1jMBB+HgKN 89rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=otfoCeDzzrF1rG6INj/+wZ3EJiFX3u06t9BQYMsag5w=; b=MUCFcVcYpZy3XW+YnPV3XXZjQJykjw6uS1bdu4imajCO1hBsm0/jLxRue9ZXnYr9SA r78f2+YnzGpnRIBjVyp1lQ6iYBiMvGWA6QnGIBr9wmixNX0X6imJyU7Bj9fzSNxjRVCE yOnA0161eL5KWYL7OcuYiaLCaK3a/fQkK+PIk6YCLSDo2UuU/2ouedYEvdvX7lG9xXqY F4VbxSOrhM/ENCS6QqCdf2kqPAk7l4GMnVbmHXm5vjaq/HPyb8EXb8lIo//DuPk8NXPw U6WN+argOvNFJgAFpy5CzIW85o4wIZATqR/V4gFUBvKrBuCFQ1/1irVLkuLsZyZbRpdX mrxA== X-Gm-Message-State: AOAM532dmD8UmCU2N5/Wm63Fmz3B+niydKdGu/lPC3hvEAPfgXaLCb34 d8LJErbwgfoJ8hj20A8AZD2/qb+/LhXI0Yp3POW8g/fy X-Google-Smtp-Source: ABdhPJy2zQ+DaFVoTdhmzM9ZymndLJhY6PlXXCCQP0D8GiLn81Qm0CiZJ1qzSb3KiVz0/ErlvAmutyjk8RzWH/7dMUY= X-Received: by 2002:a19:4805:: with SMTP id v5mr19715624lfa.338.1624897948081; Mon, 28 Jun 2021 09:32:28 -0700 (PDT) MIME-Version: 1.0 References: <222b3921-3d9b-47f9-8d13-e6a123f36fad@www.fastmail.com> <919141bc-9b59-48f4-929f-6f0434dd7317@www.fastmail.com> In-Reply-To: <919141bc-9b59-48f4-929f-6f0434dd7317@www.fastmail.com> Date: Mon, 28 Jun 2021 18:32:15 +0200 Message-ID: To: Larry Garfield Cc: php internals Content-Type: multipart/alternative; boundary="000000000000fde41505c5d608bd" Subject: Re: [PHP-DEV] [Vote] Partial Function Application From: olleharstedt@gmail.com (=?UTF-8?Q?Olle_H=C3=A4rstedt?=) --000000000000fde41505c5d608bd Content-Type: text/plain; charset="UTF-8" On Thu, 24 Jun 2021, 18:02 Larry Garfield, wrote: > On Wed, Jun 16, 2021, at 11:16 AM, Larry Garfield wrote: > > Hi folks. The vote for the Partial Function Application RFC is now > > open, and will run until 30 June. > > > > https://wiki.php.net/rfc/partial_function_application > > > > Of particular note, a few people had asked about using ...? instead of > > ... for the variadic placeholder. In the end we decided not to explore > > that, as Nikita explained off-list it was actually more confusing, not > > less, as it would suggest "placeholder for a variadic" rather than "a > > placeholder that is variadic." Otherwise, it's just more typing. The > > syntax choices section of the RFC has been updated accordingly. > > Since some people still don't grok the use cases, I've written a blog post > to make the case for them better than a detail-oriented RFC can. > > https://peakd.com/hive-168588/@crell/the-case-for-partials-and-pipes-in-php > > There has also been some positive Twitter chatter, as well as the level of > +1s on that post (which is, I think, the highest of any PHP post I've had > on there, ever), so I think the demand for it is definitely there in the > ecosystem. It's just not people who frequent Internals. :-/ > > I'd say there are definitely people that want to use partials. > > --Larry Garfield > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php Out of curiosity, what would it take to implement function aliasing in PHP? To enable a limited form of pipes, like `foo |> bar`. Olle --000000000000fde41505c5d608bd--