man-pages/man3/Ocaml_operators.3o.html
2021-03-31 01:06:50 +01:00

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">&nbsp;</A>
<H2>NAME</H2>
Ocaml_operators - Precedence level and associativity of operators
<A NAME="lbAC">&nbsp;</A>
<H2>Module</H2>
Module Ocaml_operators
<A NAME="lbAD">&nbsp;</A>
<H2>Documentation</H2>
<P>
Module
<B>Ocaml_operators</B>
<BR>&nbsp;:&nbsp;
<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>
=.. &lt;.. &gt;.. |.. &amp;.. $.. !=
<DT id="13">right<DD>
&amp; &amp;&amp;
<DT id="14">right<DD>
or ||
<DT id="15">-<DD>
,
<DT id="16">right<DD>
&lt;- :=
<DT id="17">-<DD>
if
<DT id="18">right<DD>
;
<P>
<P>
<P>
<P>
<P>
<P>
<P>
</DL>
<HR>
<A NAME="index">&nbsp;</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>