Precedence | Left associative operators | Non-associative operators | Right associative operators |
---|---|---|---|
9 | !! | . | |
8 | ^, ^^, ** | ||
7 | *, /, `div`, `mod`, `rem`, `quot` | ||
6 | +, - | ||
5 | :, ++ | ||
4 | ==, /=, <, <=, >, >=,`elem`, `notElem` | ||
3 | && | ||
2 | |||
1 | >>, >>= | ||
0 |
|
Function application has higher precedence has then any infix operators and is left associative. Any operator lacking a fixity declaration is assumed to be infixl 9.