I just wrote a new math mode for scheme. You jump into the
mode by putting a $ in front of your expression. Here's the screenshots
(i.e. transcript):<br>
<br>
> $(2 ^ 4 + 3 ^ 2)<br>
25<br>
<br>
> (define x 12) <br>
$(x * 2 ^ 3)<br>
96<br>
<br>
> (define test2 `(2 ^ 3 * 8 + 3))<br>
$(2 + (length test2))<br>
9<br>
<br>
So basically it allows you to put your operators in infix, and use ^ instead of expt. <br>
<br>
<br>
If anyones interested, let me know.<br>
<br>
Corey<br>