this repo has no description
1<!DOCTYPE html>
2<html xmlns="http://www.w3.org/1999/xhtml">
3 <head><title>Bugs_pre_410 (Bugs_pre_410)</title><meta charset="utf-8"/>
4 <link rel="stylesheet" href="odoc.css"/>
5 <meta name="generator" content="odoc %%VERSION%%"/>
6 <meta name="viewport" content="width=device-width,initial-scale=1.0"/>
7 <script src="highlight.pack.js"></script>
8 <script>hljs.initHighlightingOnLoad();</script>
9 </head>
10 <body class="odoc">
11 <nav class="odoc-nav"><a href="index.html">Up</a> –
12 <a href="index.html">Index</a> » Bugs_pre_410
13 </nav>
14 <header class="odoc-preamble">
15 <h1>Module <code><span>Bugs_pre_410</span></code></h1>
16 </header>
17 <div class="odoc-content">
18 <div class="odoc-spec">
19 <div class="spec type anchored" id="type-opt'">
20 <a href="#type-opt'" class="anchor"></a>
21 <code>
22 <span><span class="keyword">type</span> <span>'a opt'</span></span>
23 <span> = <span>int option</span></span>
24 </code>
25 </div>
26 </div>
27 <div class="odoc-spec">
28 <div class="spec value anchored" id="val-foo'">
29 <a href="#val-foo'" class="anchor"></a>
30 <code>
31 <span><span class="keyword">val</span> foo' :
32 <span><span class="optlabel">?bar</span>:
33 <span class="type-var">'a</span> <span class="arrow">-></span>
34 </span> <span>unit <span class="arrow">-></span></span>
35 unit
36 </span>
37 </code>
38 </div>
39 <div class="spec-doc">
40 <p>Similar to <code>Bugs</code>, but the printed type of
41 <code>~bar</code> should be <code>int</code>, not <code>'a</code>
42 . This probably requires fixing in the compiler. See
43 <a href="https://github.com/ocaml/odoc/pull/230#issuecomment-433226807">
44 https://github.com/ocaml/odoc/pull/230#issuecomment-433226807
45 </a>.
46 </p>
47 </div>
48 </div>
49 </div>
50 </body>
51</html>