Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88566 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56660 invoked from network); 29 Sep 2015 21:41:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Sep 2015 21:41:57 -0000 Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.51 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.213.51 mail-vk0-f51.google.com Received: from [209.85.213.51] ([209.85.213.51:36512] helo=mail-vk0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 72/01-46083-2A50B065 for ; Tue, 29 Sep 2015 17:41:55 -0400 Received: by vkfp126 with SMTP id p126so13763930vkf.3 for ; Tue, 29 Sep 2015 14:41:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=PI058vDYUTVaBhn+nGVf+EO3M2BS5m9eHjD49nUHnVQ=; b=ypcmvOrcinzbF2DE3DWqLOS82xXZQCwPh1ZPvcWM8/aAiNRh5qtxpbPSqo3p100TSA wCKEizjd/RX6HckD/up2nxorXa+s7eRgNryfpsBJIiEg/jziRBpRcJvafeuU5iTUh8RP cakx2HOopDX7Hu7oKnSNj8KrNFepMQuC2TAmP4+Ilcx17gJ9qKSsYvLhllju41p4vke9 N3aBwIJSxaQBhr5wpX4DhnbwwqcNCMLAGFwMxPXyxmybuTAL+K2oOIbgoTHLiEuAItKG Jga8mCCSwvqrsUGIo1GwhAVimdS/GwAiOPtD+uWIWG5GDsmzj+bfAEvrsgBX7JQdbcn1 iSxQ== MIME-Version: 1.0 X-Received: by 10.31.142.142 with SMTP id q136mr181834vkd.41.1443562912094; Tue, 29 Sep 2015 14:41:52 -0700 (PDT) Sender: morrison.levi@gmail.com Received: by 10.31.41.205 with HTTP; Tue, 29 Sep 2015 14:41:52 -0700 (PDT) In-Reply-To: References: Date: Tue, 29 Sep 2015 15:41:52 -0600 X-Google-Sender-Auth: Z6-Ea4vvvUgmMMBVJurc1kTE8tY Message-ID: To: Dan Ackroyd Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] [DISCUSSION]: Closure from callable From: levim@php.net (Levi Morrison) On Tue, Sep 29, 2015 at 8:23 AM, Dan Ackroyd 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 se= parate 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=E2=80=A6 those are awful).