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
Allowed as statement terminators, in which case the next statement does not need to be on another line:
v:=0; printv# prints `0`
If the statement is on another line, normal indentation rules still apply:
v:=0;
printv# ^ error: invalid indentation
Pipeline operator
If the rhs is a single identifier, it is treated as a function with a single parameter.
If the rhs is any other expression, it must have at least one argument which is the identifier _ (maybe consider making this a keyword) - it is used as a placeholder, into which the expression on the lhs will be placed. The placeholder may appear multiple times in the rhs, but it is only evaluated once.
Allowed as statement terminators, in which case the next statement does not need to be on another line:
If the statement is on another line, normal indentation rules still apply:
If the
rhs
is a single identifier, it is treated as a function with a single parameter.If the
rhs
is any other expression, it must have at least one argument which is the identifier_
(maybe consider making this a keyword) - it is used as a placeholder, into which the expression on thelhs
will be placed. The placeholder may appear multiple times in therhs
, but it is only evaluated once.The text was updated successfully, but these errors were encountered: