Import Upstream version 20180207
[hcoop/debian/mlton.git] / doc / guide / localhost / TalkHowHigherOrder
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>TalkHowHigherOrder</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>TalkHowHigherOrder</h1>
27 </div>
28 <div id="content">
29 <div class="sect1">
30 <h2 id="_higher_order_functions">Higher-order Functions</h2>
31 <div class="sectionbody">
32 <div class="ulist"><ul>
33 <li>
34 <p>
35 How does one represent SML&#8217;s higher-order functions?
36 </p>
37 </li>
38 <li>
39 <p>
40 MLton&#8217;s answer: defunctionalize
41 </p>
42 </li>
43 </ul></div>
44 <div class="paragraph"><p>&#160;<br>
45 &#160;<br></p></div>
46 <div class="paragraph"><p>See <a href="ClosureConvert">ClosureConvert</a>.</p></div>
47 <div class="paragraph"><p>&#160;<br>
48 &#160;<br>
49 &#160;<br></p></div>
50 <hr>
51 <table class="tableblock frame-all grid-all"
52 style="
53 width:100%;
54 ">
55 <col style="width:50%;">
56 <col style="width:50%;">
57 <tbody>
58 <tr>
59 <td class="tableblock halign-left valign-top" ><p class="tableblock"><a href="TalkMLtonApproach"> Prev</a></p></td>
60 <td class="tableblock halign-right valign-top" ><p class="tableblock"><a href="TalkWholeProgram"> Next</a></p></td>
61 </tr>
62 </tbody>
63 </table>
64 </div>
65 </div>
66 </div>
67 <div id="footnotes"><hr></div>
68 <div id="footer">
69 <div id="footer-text">
70 </div>
71 <div id="footer-badges">
72 </div>
73 </div>
74 </body>
75 </html>