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
Since decorators require two arguments @<expression that results in a decorator function> <thing to decorate> we can determine that an @ that receives no arguments that follows a |> can be treated as an injection point instead of a decorator.
if we allow directional piping and use directional injection points (@>, <@) there is no conflict with decorators at all.
Since
%
is the modulus operator I think it we be better to use a different symbol, perhaps@
In some other programming languages that have the pipe operator they support piping is both directions:
There is some confusion if both are use in the same expression:
to get over this confusion we can add the corresponding
<
or>
to the@
The text was updated successfully, but these errors were encountered: