Debian Codegraph @

doc/guide/src/OperatorPrecedence.adoc

raw
1 = OperatorPrecedence
2
3 <<StandardML#,Standard ML>> has a built in notion of precedence for
4 certain symbols. Every program that includes the
5 <<BasisLibrary#,Basis Library>> automatically gets the following infix
6 declarations. Higher number indicates higher precedence.
7
8 [source,sml]
9 ----
10 infix 7 * / mod div
11 infix 6 + - ^
12 infixr 5 :: @
13 infix 4 = <> > >= < <=
14 infix 3 := o
15 infix 0 before
16 ----