Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54355 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80603 invoked from network); 4 Aug 2011 12:49:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Aug 2011 12:49:17 -0000 Authentication-Results: pb1.pair.com header.from=tony@daylessday.org; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tony@daylessday.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain daylessday.org designates 95.163.84.66 as permitted sender) X-PHP-List-Original-Sender: tony@daylessday.org X-Host-Fingerprint: 95.163.84.66 mail.daylessday.org Received: from [95.163.84.66] ([95.163.84.66:48824] helo=daylessday.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 78/20-13433-C459A3E4 for ; Thu, 04 Aug 2011 08:49:17 -0400 Received: from thinkx201.site (unknown [212.42.62.198]) by daylessday.org (Postfix) with ESMTPSA id 5BA63E3578 for ; Thu, 4 Aug 2011 16:49:16 +0400 (MSD) Message-ID: <4E3A9549.6010803@daylessday.org> Date: Thu, 04 Aug 2011 16:49:13 +0400 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11 MIME-Version: 1.0 To: internals@lists.php.net References: <4E3A48F2.4000503@lerdorf.com> <4E3A8014.1030503@rotorised.com> <1312457975.1541.7.camel@guybrush> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] An implementation of a short syntax for closures From: tony@daylessday.org (Antony Dovgal) On 08/04/2011 04:39 PM, Lazare Inepologlou wrote: >> ... ( $x ) => $x + 1 for example would be ambiguous if used in an array definition, but is otherwise the best in terms of readability. > >> ... people wanted an easy way to grep for function declarations > > > A new and unique operator (like the |=> I have proposed) is a solution > that works because: Please stop that, it's not funny anymore. -- Wbr, Antony Dovgal --- http://pinba.org - realtime profiling for PHP