
<HTML><HEAD><TITLE>CosmicOS message</TITLE></HEAD>
<BODY BGCOLOR='#ffffff'>
<HR>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT><TT><A NAME='22'><FONT COLOR=red>#&nbsp;MATH show an example of recursive evaluation</FONT></A></TT><BR>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT><TT>#&nbsp;skipping over a lot of definitions and desugarings</TT><BR>
<TT>[<A HREF='sound.cgi?s=211013210110013023211003211001130232110032100101302321111322113221001013320332210013221001013302321100113221100113322101132210010133213332132233'>hear</A>] </TT><TT>(define easy-factorial /</TT><BR>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT><TT>&nbsp;&nbsp;? f /</TT><BR>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT><TT>&nbsp;&nbsp;? x /</TT><BR>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT><TT>&nbsp;&nbsp;if <font style='background-color: #cdffff'>(&gt; </font><font style='background-color: #9bffff'>(x)</font><font style='background-color: #cdffff'> 0)</font> <font style='background-color: #ffcdff'>(* </font><font style='background-color: #ff9bff'>(x)</font><font style='background-color: #ffcdff'> / f </font><font style='background-color: #ffcdcd'>(f)</font><font style='background-color: #ffcdff'> </font><font style='background-color: #cdcdff'>(- </font><font style='background-color: #9bcdff'>(x)</font><font style='background-color: #cdcdff'> 1)</font><font style='background-color: #ffcdff'>)</font> 1);</TT><BR>
<BR>
<TT>[<A HREF='sound.cgi?s=211013210111130232110032100101302321111322113221001013320332210013221001013302321011113023210113221001013321332132233'>hear</A>] </TT><TT>(define factorial /</TT><BR>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT><TT>&nbsp;&nbsp;? x /</TT><BR>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT><TT>&nbsp;&nbsp;if <font style='background-color: #cdffff'>(&gt; </font><font style='background-color: #9bffff'>(x)</font><font style='background-color: #cdffff'> 0)</font></TT><BR>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT><TT>&nbsp;&nbsp;&nbsp;<font style='background-color: #ffcdff'>(* </font><font style='background-color: #ff9bff'>(x)</font><font style='background-color: #ffcdff'> /</font></TT><BR>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT><TT>&nbsp;&nbsp;&nbsp;&nbsp;<font style='background-color: #ffcdff'>factorial /</font></TT><BR>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT><TT>&nbsp;&nbsp;&nbsp;&nbsp;<font style='background-color: #ffcdff'>- </font><font style='background-color: #ffcdcd'>(x)</font><font style='background-color: #ffcdff'> 1)</font></TT><BR>
<TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TT><TT>&nbsp;&nbsp;&nbsp;1);</TT><BR>
<BR>
<TT>[<A HREF='sound.cgi?s=210322101100132210110013320332132233'>hear</A>] </TT><TT>(= <font style='background-color: #cdffff'>(easy-factorial </font><font style='background-color: #9bffff'>(easy-factorial)</font><font style='background-color: #cdffff'> 0)</font> 1);</TT><BR>
<BR>
<TT>[<A HREF='sound.cgi?s=210322101100132210110013321332132233'>hear</A>] </TT><TT>(= <font style='background-color: #cdffff'>(easy-factorial </font><font style='background-color: #9bffff'>(easy-factorial)</font><font style='background-color: #cdffff'> 1)</font> 1);</TT><BR>
<BR>
<TT>[<A HREF='sound.cgi?s=21032210110013221011001332103321032233'>hear</A>] </TT><TT>(= <font style='background-color: #cdffff'>(easy-factorial </font><font style='background-color: #9bffff'>(easy-factorial)</font><font style='background-color: #cdffff'> 2)</font> 2);</TT><BR>
<BR>
<TT>[<A HREF='sound.cgi?s=210322101100132210110013321133211032233'>hear</A>] </TT><TT>(= <font style='background-color: #cdffff'>(easy-factorial </font><font style='background-color: #9bffff'>(easy-factorial)</font><font style='background-color: #cdffff'> 3)</font> 6);</TT><BR>
<BR>
<TT>[<A HREF='sound.cgi?s=210322101100132210110013321003321100032233'>hear</A>] </TT><TT>(= <font style='background-color: #cdffff'>(easy-factorial </font><font style='background-color: #9bffff'>(easy-factorial)</font><font style='background-color: #cdffff'> 4)</font> 24);</TT><BR>
<BR>
<TT>[<A HREF='sound.cgi?s=21032210110013221011001332101332111100032233'>hear</A>] </TT><TT>(= <font style='background-color: #cdffff'>(easy-factorial </font><font style='background-color: #9bffff'>(easy-factorial)</font><font style='background-color: #cdffff'> 5)</font> 120);</TT><BR>
<BR>
<TT>[<A HREF='sound.cgi?s=210322101111320332132233'>hear</A>] </TT><TT>(= <font style='background-color: #cdffff'>(factorial 0)</font> 1);</TT><BR>
<BR>
<TT>[<A HREF='sound.cgi?s=210322101111321332132233'>hear</A>] </TT><TT>(= <font style='background-color: #cdffff'>(factorial 1)</font> 1);</TT><BR>
<BR>
<TT>[<A HREF='sound.cgi?s=21032210111132103321032233'>hear</A>] </TT><TT>(= <font style='background-color: #cdffff'>(factorial 2)</font> 2);</TT><BR>
<BR>
<TT>[<A HREF='sound.cgi?s=210322101111321133211032233'>hear</A>] </TT><TT>(= <font style='background-color: #cdffff'>(factorial 3)</font> 6);</TT><BR>
<BR>
<TT>[<A HREF='sound.cgi?s=210322101111321003321100032233'>hear</A>] </TT><TT>(= <font style='background-color: #cdffff'>(factorial 4)</font> 24);</TT><BR>
<BR>
<TT>[<A HREF='sound.cgi?s=21032210111132101332111100032233'>hear</A>] </TT><TT>(= <font style='background-color: #cdffff'>(factorial 5)</font> 120);</TT><BR>
<BR>

</BODY>
</HTML>
