[erlang-questions] Pipe Operator in Erlang?

Tristan Sloughter t@REDACTED
Thu Jul 9 17:35:04 CEST 2015


I hope not. Take this code for example

f(X) ->
    g(Y) -> X + Y end.

f(X, Y) ->
    X - Y.

3 |> f(2).

5 or 1?

-- 
  Tristan Sloughter
  t@REDACTED

On Thu, Jul 9, 2015, at 10:24 AM, Volkert wrote:
> Dear all,
> 
> I really love the Pipe Operator |> in Elixir and F#.
> 
> Are there any plans to have this in Erlang?
> 
> Volkert
> 
> 
> 
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list