Re: [RFC] Partial function application

From: Date: Sun, 25 Apr 2021 19:50:49 +0000
Subject: Re: [RFC] Partial function application
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-114160@lists.php.net to get a copy of this message
2021-04-25 21:25 GMT+02:00, Larry Garfield <larry@garfieldtech.com>:
> 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.
>
> --
>   Larry Garfield
>   larry@garfieldtech.com
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: https://www.php.net/unsub.php
>
>

Nice. :) Are there any other motivating use-cases besides pipe
operator (that are relevant for web dev)?

Olle


Thread (68 messages)

« previous php.internals (#114160) next »