Ocaml_operators

Section: OCaml library (3o)
Updated: 2023-02-12
Index Return to Main Contents
 

NAME

Ocaml_operators - Precedence level and associativity of operators  

Module

Module Ocaml_operators  

Documentation

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.

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


 

Index

NAME
Module
Documentation

This document was created by man2html, using the manual pages.
Time: 04:11:15 GMT, May 18, 2024