> On 9. Oct 2025, at 20:54, Larry Garfield <[email protected]> wrote: > > One outstanding question is whether to allow reordering of parameters in the > PFA closure by using named arguments. With this implementation, Arnaud says > it's possible to do if we decide to. I am still concerned that it would > create too much complexity and confusion in practice. But we're willing to > go with a broad consensus if it emerges. Hi I also find it confusing if I define a different parameter order in the partial function and then this order is automatically overridden to the original order rather than being used. When I consciously change the parameter order, I expect this order to be preserved in the resulting function. That's the behavior I would expect as a developer. Cheers Joshua Rüsweg
- Re: [PHP-DEV] [RFC] Partial Function Application v2 Tim Düsterhus
- Re: [PHP-DEV] [RFC] Partial Function Application... Larry Garfield
- Re: [PHP-DEV] [RFC] Partial Function Applica... Tim Düsterhus
- Re: [PHP-DEV] [RFC] Partial Function App... Arnaud Le Blanc
- Re: [PHP-DEV] [RFC] Partial Functio... Tim Düsterhus
- Re: [PHP-DEV] [RFC] Partial Function App... Larry Garfield
- Re: [PHP-DEV] [RFC] Partial Functio... Tim Düsterhus
- Re: [PHP-DEV] [RFC] Partial Fun... Larry Garfield
- Re: [PHP-DEV] [RFC] Partial Fun... Tim Düsterhus
- Re: [PHP-DEV] [RFC] Partial Functio... Tim Düsterhus
- Re: [PHP-DEV] [RFC] Partial Function Application v2 Joshua Rüsweg
- Re: [PHP-DEV] [RFC] Partial Function Application v2 Larry Garfield
- Re: [PHP-DEV] [RFC] Partial Function Application... Niels Dossche
- Re: [PHP-DEV] [RFC] Partial Function Application... Volker Dusch
- Re: [PHP-DEV] [RFC] Partial Function Applica... Dennis Birkholz
- Re: [PHP-DEV] [RFC] Partial Function Application... Andreas Leathley
- Re: [PHP-DEV] [RFC] Partial Function Application... Tim Düsterhus
- Re: [PHP-DEV] [RFC] Partial Function Applica... Larry Garfield
- Re: [PHP-DEV] [RFC] Partial Function App... Tim Düsterhus
- Re: [PHP-DEV] [RFC] Partial Function App... Ben Ramsey
- Re: [PHP-DEV] [RFC] Partial Function Application v2 Larry Garfield
