DOKK / manpages / debian 11 / ocaml-man / Ocaml_operators.3o.en
Ocaml_operators(3o) OCaml library Ocaml_operators(3o)

Ocaml_operators - Precedence level and associativity of operators

Module Ocaml_operators

Module Ocaml_operators
: sig end

Precedence level and associativity of operators

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
;

2020-10-30 OCamldoc