arliss_obsidian/fp/Language/Infix Operators/Common Operators/Math.md

6 lines
593 B
Markdown
Raw Normal View History

2024-09-23 23:56:55 +00:00
|Operator|Description|Associativity|Precedence|Defined As|
|--|--|--|--|--|
|`+`|Addition|left|6|[`Data.Semiring.add`](https://pursuit.purescript.org/packages/purescript-prelude/docs/Data.Semiring#v:(+))|
|`*`|Multiplication|left|7|[`Data.Semiring.mul`](https://pursuit.purescript.org/packages/purescript-prelude/docs/Data.Semiring#v:(*))|
|`-`|Subtraction|left|6|[`Data.Ring.sub`](https://pursuit.purescript.org/packages/purescript-prelude/docs/Data.Ring#v:(-))|
|`/`|Division|left|7|[`Data.EuclideanRing.div`](https://pursuit.purescript.org/packages/purescript-prelude/docs/Data.Ring#v:(-))|