You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently |> works only on single argument functions, rendering it quite useless in many situations. Following Elixir's approach to it, we could make it only on the first (last?) parameter that is piped:
function i(x) = x
function f(x, y) = x - y
function g(x) = x
21 |> i |> f(37) |> g
which would mean
g(f(i(21), 37))
The text was updated successfully, but these errors were encountered:
Currently
|>
works only on single argument functions, rendering it quite useless in many situations. Following Elixir's approach to it, we could make it only on the first (last?) parameter that is piped:which would mean
The text was updated successfully, but these errors were encountered: