Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114696 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 89245 invoked from network); 2 Jun 2021 20:03:44 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 2 Jun 2021 20:03:44 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 86DB71804CC for ; Wed, 2 Jun 2021 13:17:04 -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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com [209.85.160.170]) (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, 2 Jun 2021 13:17:04 -0700 (PDT) Received: by mail-qt1-f170.google.com with SMTP id v4so2818800qtp.1 for ; Wed, 02 Jun 2021 13:17:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=newclarity-net.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=gX95GF3Jt6ZfLT4wGtVP0e/BVYTswfBsDV9ZA3d9Cfg=; b=MH37XMIe0YOoHDKL6B+XNbluqMTQg2TuIfm/HqHPnoEMBXkDK/TTgmyNHs2fRVrnF+ R8tSR8olqW9X+TAOzcA//Xnw246Us7umd6SZ3oRuc0JnQ2Io44RvsTFj84fM/eD+/f+Q pIAabgphk+btWyV2qrUfZIdDkRQFXg0w4+jUV8MAgTGiMz9M0SxnT9V5193gI3h7W3Oh IHPjjrDFSU0LZnpP5TxnTQsGwKWVOHIq+6kSVezmmRthhtpsE4RT2QZldYVVGaUGCD0b h3yVwpzxsC2Xfno7fXFufVKV3hTFFUS+n0uh/9hRZkffP6JafefMmSdt/Up3iWKRHUnv fNkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=gX95GF3Jt6ZfLT4wGtVP0e/BVYTswfBsDV9ZA3d9Cfg=; b=qW9L+jPLDAmOAfOY6RZ2RHj2hPQSfhcUxoV4SEzyMfx4iuGmz0kyOpJzC5kFYmNbw6 6ITaTyeIYBKp4nPAGsxNT/cS3ADjCaPhiz3jM7ADaaqbWtFhMp/Yu/BTvG+OEGwsmbz1 ESPPwIocOBPjN03Ahn1kGb7xX91QuSZUdQWj+vN/0DrLtObVP3GoaPMHZ/I54v2iCoHj RkOa+1o4g8OXxxwBNlA2aA+eM4C9TE4d5zxB8zKM7+LyuzQk/9sBO84c/IZd9IQaoOMW hRlq4gk8QmJADWQ/teqIUYIptbKcY75E/zRF3Ez5LwXhPOEXLaO2Yf6LeoJxC/9tTpSF d3Mw== X-Gm-Message-State: AOAM533DkICHciFhnEk0i4voCFgxPvu0jcA8DJQqeutCKd44kCWpq3Wc 0Zs2PCZAfjJX7QE/ZF6Kxf0IrD/pQudSlH41 X-Google-Smtp-Source: ABdhPJwpnEsMKJvOJwzda7ZRqj0CauLij5CcN+OjVIR0klKuo2RzG+PIXXIW0vn71MBNvjgyDxP+BA== X-Received: by 2002:ac8:5a0a:: with SMTP id n10mr25572498qta.232.1622665023344; Wed, 02 Jun 2021 13:17:03 -0700 (PDT) Received: from [192.168.1.10] (c-24-98-254-8.hsd1.ga.comcast.net. [24.98.254.8]) by smtp.gmail.com with ESMTPSA id z3sm567020qkj.40.2021.06.02.13.16.58 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Jun 2021 13:16:58 -0700 (PDT) Message-ID: <3CEC0E1F-903E-480D-B0C8-B460C9886B0E@newclarity.net> Content-Type: multipart/alternative; boundary="Apple-Mail=_5B893BC2-9BDB-485E-B9FE-E4A5727185B2" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.6\)) Date: Wed, 2 Jun 2021 16:16:56 -0400 In-Reply-To: <9adf063b-2598-4dd4-9e2b-cf2cd4f53b86@www.fastmail.com> Cc: php internals To: Larry Garfield References: <9adf063b-2598-4dd4-9e2b-cf2cd4f53b86@www.fastmail.com> X-Mailer: Apple Mail (2.3608.120.23.2.6) Subject: Re: [PHP-DEV] [RFC] Partial Function Application, take 2 From: mike@newclarity.net (Mike Schinkel) --Apple-Mail=_5B893BC2-9BDB-485E-B9FE-E4A5727185B2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Jun 2, 2021, at 1:45 PM, Larry Garfield = wrote: >=20 > Hi folks. After much off-list discussion, iteration, and = consideration, we have a new draft of PFA ready for review. >=20 > The URL is the same: >=20 > https://wiki.php.net/rfc/partial_function_application Really excellent work, all! > It's a bit long because we wanted to be as precise as possible. = However, in short: >=20 > * Partial application creates a closure object you can use like any = other. > * A ? indicates "exactly one required parameter here" > * A ... indicates "zero or more parameters here" My only comment/request/suggestion is to consider Mark Randall's = suggestion to use `...?` instead, for the reasons he mentioned in his = email to the list: https://externals.io/message/114157#114666 = Plus Levi Morrison seemed to approve: https://externals.io/message/114157#114667 = =20 -Mike= --Apple-Mail=_5B893BC2-9BDB-485E-B9FE-E4A5727185B2--