Den 2021-05-11 kl. 17:38, skrev Larry Garfield:
On Sun, Apr 25, 2021, at 2:25 PM, Larry Garfield wrote:
Greetings, Internalians!
I would like to offer for your consideration another RFC, specifically
syntax for partial function application.
https://wiki.php.net/rfc/partial_function_application
It includes an implementation by Joe Watkins that is already about 95%
complete. (There's some edge cases he's still sorting out, but all of
the typical cases should work already.) Most of the design work comes
from Levi Morrison and Paul Crovella. I helped out with the tests, a
few edge bits, and general instigator/nudge. :-)
Discuss.
It looks like the conversation has died down, and it's been two weeks, so
pending any other notable feedback I'll open a vote on this RFC on Thursday or
Friday.
--Larry Garfield
Sometimes the RFC's mentions how / if a specific feature is used in
other languages. Would it be beneficial also to this RFC?
I also think that the Introduction / Proposal paragraph could benefit
from a few lines on why this feature is needed. The "pipe" use case
further down is a good motiovation, just wondering about others.
r//Björn L
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php