Operators in Picat
This source table is included in Data Types, Operators, and Built-ins and in the Operators appendix.
<>
| Precedence | Operators |
| Highest | ., @ |
| ** (right-associative) | |
| unary +, unary -, ~ | |
| *, /, //, /<, />, div, mod, rem | |
| binary +, binary - | |
| >>, << | |
| /' | |
| ^ | |
| ' / | |
| .. | |
| ++ (right-associative) | |
| is, =, !=, :=, ==, !==, =:=, =' =, <, =<, <=, >, >=, ::, in, notin, =.. | |
| #=, #!=, #<, #=<, #<=, #>, #>=, @<, @=<, @<=, @>, @>= | |
| #~ | |
| #/' | |
| #^ | |
| #' / | |
| #=> (right-associative) | |
| #<=> | |
| not, once, ' + | |
| , (right-associative), (right-associative) | |
| Lowest | ; (right-associative), (right-associative) |