Hi,<br>&nbsp;I am not able to create table or hash-table in r5rs.<br><br>(define tbl (make-hash-table))<br>&nbsp;Its giving error &quot;unbound identifier in module&quot;.<br>&nbsp;In the help also i am unable to find it. <br>&nbsp;Can you please tell me how to do this. Or there is<br>
&nbsp;way to access mzscheme library in r5rs.<br>&nbsp;Also how to &nbsp;access all documentation for r5rs, since<br>&nbsp;i am using&nbsp;this as module lang.<br>&nbsp;<br>Thanks and Regards<br>Vinay sachdev<br><br><div class="gmail_quote">On Sat, Jan 17, 2009 at 7:39 AM, Jens Axel Soegaard <span dir="ltr">&lt;<a href="mailto:jensaxel@soegaard.net">jensaxel@soegaard.net</a>&gt;</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;">Vinay Sachdev skrev:<div class="Ih2E3d"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
&nbsp;I am reading SICP and i am at the start of chap-3.<br>
&nbsp;I am using PLT-Scheme ver-4.0 .I ran into problem with<br>
&nbsp;mutable pairs. it was giving error. So instead of using<br>
&nbsp;set-car! i used set-mcar!, but then even to create list<br>
&nbsp;i have to create mutable list.<br>
&nbsp;I have an older version also(ver-3.71). Is it a bad idea to<br>
&nbsp;install older version or is there any other way out?<br>
</blockquote>
<br></div>
In the module language, try this:<br>
<br>
#lang r5rs<br>
(let ((p (cons 1 2)))<br>
 &nbsp;(set-car! p 4)<br>
 &nbsp;(display p))<br>
<br>
It prints (4 . 2).<div class="Ih2E3d"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&nbsp;My main purpose is to do read SICP and do its exercise.<br>
&nbsp;One more question, is there any other issues with<br>
&nbsp;PLT-Scheme in later chapters of SICP?<br>
</blockquote>
<br></div>
When you come to the picture language, use this<br>
PLaneT package:<br>
<br>
<a href="http://planet.plt-scheme.org/package-source/soegaard/sicp.plt/2/1/planet-docs/sicp-manual/index.html" target="_blank">http://planet.plt-scheme.org/package-source/soegaard/sicp.plt/2/1/planet-docs/sicp-manual/index.html</a><br>
<font color="#888888">
<br>
<br>
/Jens Axel<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Thanks and Regards<br>Vinay Sachdev<br>