Re: [Vote] Pipe operator
| From: | Ilija Tovilo | Date: | Tue, 13 May 2025 22:55:10 +0000 |
| Subject: | Re: [Vote] Pipe operator | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-127348@lists.php.net to get a copy of this message | ||
Hi Larry
On Tue, May 13, 2025 at 3:58 AM Larry Garfield <larry@garfieldtech.com> wrote:
>
> I hereby open the vote on the Pipe operator RFC:
>
> https://wiki.php.net/rfc/pipe-operator-v3
It looks like the example under "Rejected Features" is wrong.
// With Elixir style
$foo
|> bar(...)
should be
$foo
|> bar()
Also a nit: The RFC says "There was discussion off-list of
“auto-partialling” functions after a pipe", but this idea was since
discussed on-list as well.
Ilija