<div dir="ltr">I agree with the general feelings of the thread. F# relies on currying. Elixir relies on macros (it is actually closer to the thread operator found in some lisps).<div><br></div><div>Also F# has most of its standard library expecting the "subject" as last argument (due to currying). Elixir defaults to the first argument. Erlang, for better or worse, has them mixed (see binary and lists modules).</div><div><br></div><div>For those reasons I don't think this feature makes much sense in Erlang. It is also hard to have elegant currying when functions are identified by name and arity. I believe Joxa is the only language in the Erlang VM with currying but they dropped the fun name/arity bit (citation needed).</div><div><br></div><div>Language features are like a Jenga game, all the pieces need to fit together neatly, otherwise you have a crumbling mess.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div><br></div><div><br></div><div><span style="font-size:13px"><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><b>José Valim</b></span></div><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><div><span style="font-family:verdana,sans-serif;font-size:x-small"><a href="http://www.plataformatec.com.br/" style="color:rgb(42,93,176)" target="_blank">www.plataformatec.com.br</a></span></div><div><span style="font-family:verdana,sans-serif;font-size:x-small">Skype: jv.ptec</span></div><div><span style="font-family:verdana,sans-serif;font-size:x-small">Founder and Director of R&D</span></div></span></div></span></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Jul 9, 2015 at 5:24 PM, Volkert <span dir="ltr"><<a href="mailto:volkert@komponentenwerkstatt.de" target="_blank">volkert@komponentenwerkstatt.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br>
<br>
I really love the Pipe Operator |> in Elixir and F#.<br>
<br>
Are there any plans to have this in Erlang?<br>
<br>
Volkert<br>
<br>
<br>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br></div>