Re: [RFC] [DISCUSSION]: Closure from callable
| From: | Levi Morrison | Date: | Tue, 29 Sep 2015 21:41:52 +0000 |
| Subject: | Re: [RFC] [DISCUSSION]: Closure from callable | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-88566@lists.php.net to get a copy of this message | ||
On Tue, Sep 29, 2015 at 8:23 AM, Dan Ackroyd <danack@basereality.com> wrote:
> Hello internals,
>
> I'd like to start a discussion of a proposal to allow closures to be
> created in user-land without having to use a whole lot of reflection
> code.
>
> https://wiki.php.net/rfc/closurefromcallable
>
> Thanks to Joe and Bob for the assistance in the patch.
>
> cheers
> Dan
> Ack
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
I fixed a formatting error in
https://wiki.php.net/rfc/closurefromcallable#other_languages
Overall it looks good. I have a small quibble with:
> However this RFC takes the position that it is inappropriate to have a separate function per
> type.
But that wouldn't make me vote no. I think it's valuable to have both
(just not with Hack's names… those are awful).