2 ms·
With my two orthogonal syntaxes, there is no transformation. "|>" doesn't need to look at its operands to be implemented. With a macro, you have a call to foo/N
by nox_ 13y ago
With my two orthogonal syntaxes, there is no transformation. "|>" doesn't need to look at its operands to be implemented. With a macro, you have a call to foo/N end up a call to foo/N+1.
Also, coming from a functional background, where I read "X |> F()", I think "(F())(X)", not "F(X)".