Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:115063 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 35959 invoked from network); 23 Jun 2021 13:53:08 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 23 Jun 2021 13:53:08 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8B746180501 for ; Wed, 23 Jun 2021 07:11:40 -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,HTML_MESSAGE, 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-io1-f41.google.com (mail-io1-f41.google.com [209.85.166.41]) (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 ; Wed, 23 Jun 2021 07:11:40 -0700 (PDT) Received: by mail-io1-f41.google.com with SMTP id h2so3562881iob.11 for ; Wed, 23 Jun 2021 07:11:40 -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=tuN0skBRnYauGBEcuCtQTs2evMOi3UcgMiKai/LSt1I=; b=ckg+g4LaUOAOrUUuJuIKvrnhCH9uBUr4fvnZIxbossmZ8NyYDnvwTMOi0+JMsIO2Gf ze0jZeq/BE9xFa9r4dB7FJwzBrLmCkBAqxK9CospNea26rJaAyHxlC1AcMFTG4XmNvfj zaRID2gu/CoSUMlafhxf4Vje5o06ESoUabqN/s90z/HSoz6qyW63tIyleuELftx4Nku6 +6GkabbTiW3I8mUC5iFj9fuAvBZX/LNd24KMHfPo1Kw15gQuLAUx0k6tvhAsAWvdHx6r w24/R8CMbsGdXprPFQaiOqF2FqBZgkHPIRCc9NYlM43Iyrw9SSANru4EAwLK14ob85NM vMVg== 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=tuN0skBRnYauGBEcuCtQTs2evMOi3UcgMiKai/LSt1I=; b=TasvudgteqccmTAXEtthAOXXtVglnYa69eaV7JMc7W6SDRwOB9KMhxUOrRzvvgvv9w 0mdY9LlnS6kOqEhXJNgU10aWTdK9Ly0cjIXAdcpUbQbv8ua23eUpZFI+eNACE4IeZWxu q335O7Vn8KSxsHPOWzRaYV9N4kX9Jfkfx+oyejHFbAHQtdlY7Dm5XQuy+LWP9A9nmjfp q8xc1F+3e+8lzVOYXh0Fv8+M3YqGFtHJDvbHAWgj5a8uTJFdzZ8+uDmvR25AaM7bY8dq MttGZx0W0HNf1FX6uLo/xeRnBLw8dYi0ddFS1dSuBgNi6jQer0VVKOKe8CQ0OyqBmyDl lG7w== X-Gm-Message-State: AOAM531jw4mF4lDeFuxk0WtXLC9LyATew32ko6FlyD1+EBCCQNuqy2NQ WivbOZq9fyeeQ64piD6iQNvs6ZpA6SU= X-Google-Smtp-Source: ABdhPJzpU4hRAZ9uNxwQZKwxhlIPV8xrPearVeM2uhDUk9TFjasRuoK0qdjmogWcBEnyIK+xFf2YsA== X-Received: by 2002:a5d:8b85:: with SMTP id p5mr7130933iol.43.1624457499472; Wed, 23 Jun 2021 07:11:39 -0700 (PDT) Received: from mail-io1-f52.google.com (mail-io1-f52.google.com. [209.85.166.52]) by smtp.gmail.com with ESMTPSA id n20sm13612323ioo.23.2021.06.23.07.11.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Jun 2021 07:11:39 -0700 (PDT) Received: by mail-io1-f52.google.com with SMTP id b14so3538891iow.13 for ; Wed, 23 Jun 2021 07:11:39 -0700 (PDT) X-Received: by 2002:a02:8246:: with SMTP id q6mr9287652jag.130.1624457498909; Wed, 23 Jun 2021 07:11:38 -0700 (PDT) MIME-Version: 1.0 References: <222b3921-3d9b-47f9-8d13-e6a123f36fad@www.fastmail.com> In-Reply-To: <222b3921-3d9b-47f9-8d13-e6a123f36fad@www.fastmail.com> Date: Wed, 23 Jun 2021 15:11:03 +0100 X-Gmail-Original-Message-ID: Message-ID: To: Larry Garfield Cc: php internals Content-Type: multipart/alternative; boundary="0000000000002cf30005c56f7c53" Subject: Re: [PHP-DEV] [Vote] Partial Function Application From: phpmailinglists@gmail.com (Peter Bowyer) --0000000000002cf30005c56f7c53 Content-Type: text/plain; charset="UTF-8" On Wed, 16 Jun 2021 at 17:17, 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 > I like. People have either experienced the need for this or they haven't. Ask me a month ago and I would have said "pfft, waste of time and language bloat" but I changed my mind recently after running into issues in JavaScript and discovering I needed partial function application to fix it cleanly (vs a mess of mixed function calls and closure-wrapped function calls). I am a little ambivalent as I do feel the RFC's complexity has grown - I would be happy without the variadic placeholder being included if it's a choice between no partial function application or placeholders only. But if I don't want to use variadic placeholders, hey I can omit them from my code. Peter --0000000000002cf30005c56f7c53--