Thanks Dave & Gabor for the quick replies.<br><br>Dave Griffiths <span dir="ltr"></span>wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<snip> <br>
</blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
It might be useful for you to check out structs:<br>
<a href="http://docs.racket-lang.org/reference/define-struct.html?q=define-struct#%28form._%28%28lib._racket/private/base..rkt%29._define-struct%29%29" target="_blank">http://docs.racket-lang.org/reference/define-struct.html?q=define-struct#%28form._%28%28lib._racket/private/base..rkt%29._define-struct%29%29</a><br>



<br>
You can make fields mutable so you can set them. The reason this is<br>
always a made bit tricky is because the language leans heavily in the<br>
direction of functional programming, while not entirely forcing it on<br>
you.<br></blockquote><div><br>This is very useful info, thanks for that link.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<br>
Lists are immutable, meaning that if you want to change an element you<br>
need to rebuild the list each time.<br></blockquote><div> </div>Ahahaha, that's quite crucial to know -- if I am trying to accomplish the impossible I can stop wondering why it does not work. :)<br><br><br><br><div class="gmail_quote">


gabor papp wrote:<br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


here's a small example that might help.<br>
<br>
-----<br>
<snip><br><font color="#888888"><br></font></blockquote><div><br>Wow, that really makes me wonder why I hadn't asked this list before. That little piece of code explains a lot to me; the "map" and "for-each" were still a bit foggy to me but that's cleared up now. In fact, I had a little aha-erlebnis there and it felt wonderful. :-)<br>

<br><br>Again, thanks, for the enlightening responses!<br><br>Cheers,<br>Hugo<br></div></div>