Skip to content

Commit 6268f0a

Browse files
authored
Merge pull request #610 from erickeno/erickeno-patch-2
Remove duplications
2 parents 9842c95 + b6862ee commit 6268f0a

1 file changed

Lines changed: 0 additions & 33 deletions

File tree

website/pages/api/Pervasives.html

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1403,39 +1403,6 @@ <h6 id="6_References">References</h6><br>
14031403
Equivalent to <code class="code">fun r -&gt; r := pred !r</code>.<br>
14041404
</div>
14051405
<br>
1406-
<h6 id="6_Operationsonformatstrings">Operations on format strings</h6><br>
1407-
<br>
1408-
<h6 id="6_Operationsonformatstrings">Operations on format strings</h6><br>
1409-
<br>
1410-
Format strings are character strings with special lexical conventions
1411-
that defines the functionality of formatted input/output functions. Format
1412-
strings are used to read data with formatted input functions from module
1413-
<a href="Scanf.html"><code class="code">Scanf</code></a> and to print data with formatted output functions from modules
1414-
<a href="Printf.html"><code class="code">Printf</code></a> and <a href="Format.html"><code class="code">Format</code></a>.
1415-
<p>
1416-
1417-
Format strings are made of three kinds of entities:</p><ul>
1418-
<li><em>conversions specifications</em>, introduced by the special character <code class="code">&apos;%&apos;</code>
1419-
followed by one or more characters specifying what kind of argument to
1420-
read or print,</li>
1421-
<li><em>formatting indications</em>, introduced by the special character <code class="code">&apos;@&apos;</code>
1422-
followed by one or more characters specifying how to read or print the
1423-
argument,</li>
1424-
<li><em>plain characters</em> that are regular characters with usual lexical
1425-
conventions. Plain characters specify string literals to be read in the
1426-
input or printed in the output.</li>
1427-
</ul>
1428-
1429-
There is an additional lexical rule to escape the special characters <code class="code">&apos;%&apos;</code>
1430-
and <code class="code">&apos;@&apos;</code> in format strings: if a special character follows a <code class="code">&apos;%&apos;</code>
1431-
character, it is treated as a plain character. In other words, <code class="code">&quot;%%&quot;</code> is
1432-
considered as a plain <code class="code">&apos;%&apos;</code> and <code class="code">&quot;%@&quot;</code> as a plain <code class="code">&apos;@&apos;</code>.
1433-
<p>
1434-
1435-
For more information about conversion specifications and formatting
1436-
indications available, read the documentation of modules <a href="Scanf.html"><code class="code">Scanf</code></a>,
1437-
<a href="Printf.html"><code class="code">Printf</code></a> and <a href="Format.html"><code class="code">Format</code></a>.<br>
1438-
<br>
14391406
</p><h6 id="6_Operationsonformatstrings">Operations on format strings</h6><br>
14401407
<br>
14411408
Format strings are character strings with special lexical conventions

0 commit comments

Comments
 (0)