1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <html lang="en">
- <head>
- <title>Recursion - avram - a virtual machine code interpreter</title>
- <meta http-equiv="Content-Type" content="text/html">
- <meta name="description" content="avram - a virtual machine code interpreter">
- <meta name="generator" content="makeinfo 4.13">
- <link title="Top" rel="start" href="index.html#Top">
- <link rel="up" href="Virtual-Code-Semantics.html#Virtual-Code-Semantics" title="Virtual Code Semantics">
- <link rel="prev" href="Deconstruction.html#Deconstruction" title="Deconstruction">
- <link rel="next" href="Assignment.html#Assignment" title="Assignment">
- <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
- <meta http-equiv="Content-Style-Type" content="text/css">
- <style type="text/css"><!--
- pre.display { font-family:inherit }
- pre.format { font-family:inherit }
- pre.smalldisplay { font-family:inherit; font-size:smaller }
- pre.smallformat { font-family:inherit; font-size:smaller }
- pre.smallexample { font-size:smaller }
- pre.smalllisp { font-size:smaller }
- span.sc { font-variant:small-caps }
- span.roman { font-family:serif; font-weight:normal; }
- span.sansserif { font-family:sans-serif; font-weight:normal; }
- --></style>
- </head>
- <body>
- <div class="node">
- <a name="Recursion"></a>
- <p>
- Next: <a rel="next" accesskey="n" href="Assignment.html#Assignment">Assignment</a>,
- Previous: <a rel="previous" accesskey="p" href="Deconstruction.html#Deconstruction">Deconstruction</a>,
- Up: <a rel="up" accesskey="u" href="Virtual-Code-Semantics.html#Virtual-Code-Semantics">Virtual Code Semantics</a>
- <hr>
- </div>
- <h4 class="subsection">2.7.9 Recursion</h4>
- <p><a name="index-recursion-295"></a>Defining functions or programs self referentially is sometimes
- informally known as recursion. In functional languages, the clever use
- <a name="index-combinators-296"></a><a name="index-functional-programming-297"></a>of “combinators” is often preferred to this practice, and is in fact well
- supported by the virtual machine. However, some computations may be
- inexpressible without an explicitly “recursive” formulation, so there
- is some support for that as well.
- <ul class="menu">
- <li><a accesskey="1" href="Recur.html#Recur">Recur</a>
- <li><a accesskey="2" href="Refer.html#Refer">Refer</a>
- </ul>
- </body></html>
|