Import Upstream version 20180207
[hcoop/debian/mlton.git] / doc / guide / localhost / ImperativeTypeVariable
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <meta name="generator" content="AsciiDoc 8.6.9">
6 <title>ImperativeTypeVariable</title>
7 <link rel="stylesheet" href="./asciidoc.css" type="text/css">
8 <link rel="stylesheet" href="./pygments.css" type="text/css">
9
10
11 <script type="text/javascript" src="./asciidoc.js"></script>
12 <script type="text/javascript">
13 /*<![CDATA[*/
14 asciidoc.install();
15 /*]]>*/
16 </script>
17 <link rel="stylesheet" href="./mlton.css" type="text/css">
18 </head>
19 <body class="article">
20 <div id="banner">
21 <div id="banner-home">
22 <a href="./Home">MLton 20180207</a>
23 </div>
24 </div>
25 <div id="header">
26 <h1>ImperativeTypeVariable</h1>
27 </div>
28 <div id="content">
29 <div id="preamble">
30 <div class="sectionbody">
31 <div class="paragraph"><p>In <a href="StandardML">Standard ML</a>, an imperative type variable is a type
32 variable whose second character is a digit, as in <span class="monospaced">'1a</span> or
33 <span class="monospaced">'2b</span>. Imperative type variables were used as an alternative to
34 the <a href="ValueRestriction">ValueRestriction</a> in an earlier version of SML, but no longer play
35 a role. They are treated exactly as other type variables.</p></div>
36 </div>
37 </div>
38 </div>
39 <div id="footnotes"><hr></div>
40 <div id="footer">
41 <div id="footer-text">
42 </div>
43 <div id="footer-badges">
44 </div>
45 </div>
46 </body>
47 </html>