Re: [RFC] [Discussion] Short Closures

From: Date: Tue, 01 Sep 2015 10:50:04 +0000
Subject: Re: [RFC] [Discussion] Short Closures
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-87993@lists.php.net to get a copy of this message
On 01/09/15 07:51, Stanislav Malyshev wrote: >> function partial(callable $cb) { >> > return $left ~> $right ~> $cb($left, $right); >> > } > It looks very pretty as the ASCII art, and no entry-level programmer > would have any idea at all what these arrows actually do and how this > thing is supposed to work. Only entry level programmers? -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

« previous php.internals (#87993) next »