99 lines
1.8 KiB
HTML
99 lines
1.8 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of Ocaml_operators</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>Ocaml_operators</H1>
|
|
Section: OCaml library (3o)<BR>Updated: 2020-01-30<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
Ocaml_operators - Precedence level and associativity of operators
|
|
<A NAME="lbAC"> </A>
|
|
<H2>Module</H2>
|
|
|
|
Module Ocaml_operators
|
|
<A NAME="lbAD"> </A>
|
|
<H2>Documentation</H2>
|
|
|
|
<P>
|
|
Module
|
|
<B>Ocaml_operators</B>
|
|
|
|
<BR> :
|
|
<B>sig end</B>
|
|
|
|
<P>
|
|
<P>
|
|
Precedence level and associativity of operators
|
|
<P>
|
|
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.
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<DL COMPACT>
|
|
<DT id="1">Associativity<DD>
|
|
Operator class
|
|
<DT id="2">-<DD>
|
|
!.. ~..
|
|
<DT id="3">-<DD>
|
|
.() .[] .{}
|
|
<DT id="4">left<DD>
|
|
#..
|
|
<DT id="5">left<DD>
|
|
function application
|
|
<DT id="6">-<DD>
|
|
- -.
|
|
<DT id="7">right<DD>
|
|
**.. lsl lsr asr
|
|
<DT id="8">left<DD>
|
|
*.. /.. %.. mod land lor lxor
|
|
<DT id="9">left<DD>
|
|
+.. -..
|
|
<DT id="10">right<DD>
|
|
::
|
|
<DT id="11">right<DD>
|
|
@.. ^..
|
|
<DT id="12">left<DD>
|
|
=.. <.. >.. |.. &.. $.. !=
|
|
<DT id="13">right<DD>
|
|
& &&
|
|
<DT id="14">right<DD>
|
|
or ||
|
|
<DT id="15">-<DD>
|
|
,
|
|
<DT id="16">right<DD>
|
|
<- :=
|
|
<DT id="17">-<DD>
|
|
if
|
|
<DT id="18">right<DD>
|
|
;
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
<P>
|
|
</DL>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="19"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="20"><A HREF="#lbAC">Module</A><DD>
|
|
<DT id="21"><A HREF="#lbAD">Documentation</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:49 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|