On 05/09/2016 11:41 AM, Sara Golemon wrote:
On Sun, May 8, 2016 at 11:45 PM, Stanislav Malyshev <smalys...@gmail.com> wrote:
Neither 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

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.

--
Stephen

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to