Re: First-class callable partial application

From: Date: Fri, 10 Mar 2023 21:55:52 +0000
Subject: Re: First-class callable partial application
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-119683@lists.php.net to get a copy of this message
Am 10.03.2023 um 20:04 schrieb Eugene Sidelnyk <zsidelnik@gmail.com>: > Another simplified example: > > ``` > // partial application > foo(bar(1, ...)); While it is not as concise as your version I think the work-around with short arrow functions works ok unless your code is full of partial applications: foo(fn(...$a) => bar(1, ...$a)); Regards, - Chris

« previous php.internals (#119683) next »