Vassili Bykov wrote about the pipe operator in Smalltalk back in 2007:
http://blog.3plus4.org/2007/08/30/message-chains/

frank

On 8 June 2014 18:20, Garth Holland <steve9571...@hotmail.com> wrote:
> The pipe operator appears in many languages (F#, Haskell, Elixir, Clojure
> (threading macro)). It's an elegant way of chaining method/function calls in
> the presence of additional parameters. The reddit example could be written
> using a pipe operator |>
>
>  #('apple' 'peach' 'banana')
>         |> groupedBy: #size
>         |> select: [:each | each size even]
>         |> values
>         |> collect: #asCommaString.
>
> /Garth
>
>
>
>
> --
> View this message in context: 
> http://forum.world.st/Pipe-operator-tp4762106p4762182.html
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>

Reply via email to