<br><br><div class="gmail_quote">On Wed, Aug 18, 2010 at 2:41 AM, Eduardo Cavazos <span dir="ltr">&lt;<a href="mailto:wayo.cavazos@gmail.com">wayo.cavazos@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Mathew Kurian:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
However, in the case of universe/world teachpacks, where the use of<br>
states is a vital component, a set of code can get very long,<br>
especially if the program is very complex and contains multiple<br>
structures (in some cases structures inside structures inside<br>
structures) within the states.<br>
</blockquote>
<br>
I agree with the critique of lengthy expressions involving nested records (structs).<br>
<br>
Here&#39;s how I deal with it:<br>
<br>
    <a href="http://gist.github.com/364754" target="_blank">http://gist.github.com/364754</a><br>
<br>
The particular solution is for R6RS but PLT has the necessary mechanisms for it.<br>
<br>
Ed<br></blockquote><div><br></div><div>Hey Ed,</div><div><br></div><div>If you have spare time, can you please explain by what you meant in that github website. All I saw was a comparison between C and Scheme.</div><div>
<br></div><div>Thank you</div><div><br></div><div>Mathew K.</div><div> </div></div><br>