Syntax sugar (Pipe-calculus): Difference between revisions

Line 52: Line 52:
</math>
</math>


The new operators are called '''positive arrow''' and '''negative arrow''' respectively.
Intuitively a '''positive arrow''' denotes outward directed operations and '''negative arrow''' denotes inward directed ones.
They are right associative like the function arrow normally is.  
<ref>
Notice that the arrow syntax is unambiguous because variables can always be distinguished from atoms and an atom without a polarity does not occur anywhere else in the syntax.
</ref>
Both arrows are right associative.
When it is clear from context, we can call a negative arrow simply an arrow.
When it is clear from context, we can call a negative arrow simply an arrow.
283

edits