<div dir="ltr">Unless the language actually supports partial application, it feels odd to add this.<div><br>BR<br> G</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 9, 2015 at 6:24 PM, Pierre Fenoll <span dir="ltr"><<a href="mailto:pierrefenoll@gmail.com" target="_blank">pierrefenoll@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I hope it will, but in addition to "curried" funs:<div><br></div><div>fun f(2)/1 == fun(Y) -> f(2, Y) end.</div><div><br></div><div>Thus:</div><div><br></div><div>3 |> fun f(2)/1 == -1</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><div><br></div><div>Cheers,</div><span class="HOEnZb"><font color="#888888"><div>-- </div><div>Pierre Fenoll</div></font></span></div><div><br></div></div></div></div><div><div class="h5">
<br><div class="gmail_quote">On 9 July 2015 at 08:38, Tristan Sloughter <span dir="ltr"><<a href="mailto:t@crashfast.com" target="_blank">t@crashfast.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yea yea, Fred pointed out a typo:<br>
<br>
f(X) -><br>
fun(Y) -> X + Y end.<br>
<span><br>
f(X, Y) -><br>
X - Y.<br>
<br>
3 |> f(2).<br>
<br>
5 or 1?<br>
<br>
--<br>
Tristan Sloughter<br>
<a href="mailto:t@crashfast.com" target="_blank">t@crashfast.com</a><br>
<br>
</span><div><div>On Thu, Jul 9, 2015, at 10:35 AM, Tristan Sloughter wrote:<br>
> I hope not. Take this code for example<br>
><br>
> f(X) -><br>
> g(Y) -> X + Y end.<br>
><br>
> f(X, Y) -><br>
> X - Y.<br>
><br>
> 3 |> f(2).<br>
><br>
> 5 or 1?<br>
><br>
> --<br>
> Tristan Sloughter<br>
> <a href="mailto:t@crashfast.com" target="_blank">t@crashfast.com</a><br>
><br>
> On Thu, Jul 9, 2015, at 10:24 AM, Volkert wrote:<br>
> > 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>
> _______________________________________________<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>
_______________________________________________<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>
</div></div></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">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>
<br></blockquote></div><br></div>