Re: [RFC] Pipe Operator
| From: | Stephen Coakley | Date: | Tue, 10 May 2016 02:53:10 +0000 |
| Subject: | Re: [RFC] Pipe Operator | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-93134@lists.php.net to get a copy of this message | ||
On 05/09/2016 11:41 AM, Sara Golemon wrote:
On Sun, May 8, 2016 at 11:45 PM, Stanislav Malyshev <smalyshev@gmail.com> wrote:I am really, truly sorry as this is a serious matter, but I kinda laughed a little bit at this burn... |> seems like a common symbol to use, but it admittedly does look a little strange. Hmm? Do I have a better proposal? Nope, not really. It's all just syntax in the end. -- StephenNeither of these is true for |>-$$ thing - it does not have any matches in any languages I can think of.You lack imagination. Here's three to get you started: Elixir: http://elixir-lang.org/getting-started/enumerables-and-streams.html#the-pipe-operator F#: https://msdn.microsoft.com/en-us/library/dd233229.aspx#Anchor_11 Clojure: https://clojuredocs.org/clojure.core/-%3E And if they seem to obscure, how about this proposal for Javascript? https://github.com/mindeavor/es-pipeline-operator