On Sun, Apr 25, 2021 at 12:27 PM Larry Garfield <la...@garfieldtech.com> 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.
Regarding "Comparison to other languages" and "Syntax choices" - I lifted the design and ? character directly from XQuery, adapting for PHP's variadic nature. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php