Spec-Zone.ru › OCaml

Ocaml_operators

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

© 1995-2026 INRIA.
https://ocaml.org/manual/5.5/api/Ocaml_operators.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API