Re: Re: [RFC] Arrow functions / short closures
| From: | M. W. Moe | Date: | Thu, 11 Apr 2019 15:53:59 +0000 |
| Subject: | Re: Re: [RFC] Arrow functions / short closures | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-105245@lists.php.net to get a copy of this message | ||
@Fabien S
yes, I think you could remove decoration; but still lambda capture process
must
be clarified i.e iterating your ruleset; you don't want to capture every
scope variables.
On Thu, Apr 11, 2019 at 8:22 AM Fabien S <fabacrans@gmail.com> wrote:
> Thanks a lot for all your efforts Nikita.
>
> I really like the Haskell
\($x) syntax, could someone confirm
> if it
> would possible to drop the parenthesis (like \$x) if we have
> one argument
> ?
>
> Thanks in advance, regards