On 20.09.2017 at 18:52, Derick Rethans wrote: > On Wed, 20 Sep 2017, Nikita Popov wrote: > >> I think this feature makes very little sense if it's not introduced >> together with a way of making partial application much more ergonomic than >> it is now. > > What do you mean here by "partial application"?
Partial application is a common concept in functional/applicative programming languages, which facilitates to get a closure over another function where some of the parameters are already applied, e.g. something like (pseudocode): incr = partial(plus, 1); print incr(2); // 3 print incr(100); // 101 -- Christoph M. Becker -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php