Re: [RFC] Function pipe operator
| From: | Guilliam Xavier | Date: | Thu, 23 Apr 2020 09:40:19 +0000 |
| Subject: | Re: [RFC] Function pipe operator | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-109804@lists.php.net to get a copy of this message | ||
On Wed, Apr 22, 2020 at 11:32 PM Bruce Weirdan <weirdan@gmail.com> wrote:
>
> Haskell has & operator in Data.Function module which is exact equivalent of
> the proposed feature.
> Link:
>
> https://hackage.haskell.org/package/base-4.8.0.0/docs/Data-Function.html#g:2
> Example: https://repl.it/repls/KindLightsalmonApplicationserver
Ah, thanks for the intel! (I see it was added in 2015, i.e. a few
years after the publication of LYAHFGG in 2011)
--
Guilliam Xavier