Ocaml_operators(3) OCaml library Ocaml_operators(3)

Ocaml_operators - Precedence level and associativity of operators

Module Ocaml_operators

Module Ocaml_operators
: sig end

The following table lists the precedence level of all operator classes from the highest to the lowest precedence. A few other syntactic constructions are also listed as references.

Operator class
-
!.. ~..
-
.() .[] .{}
#..
function application
-
- -.
**.. lsl lsr asr
*.. /.. %.. mod land lor lxor
+.. -..
::
@.. ^..
=.. <.. >.. |.. &.. $.. !=
& &&
or ||
-
,
<- :=
-
if
;
2023-11-11 OCamldoc