A quick question to Shriram: I installed PLT 4.2.1 a few days ago and ran (require (planet <span class="il">plai</span>/<span class="il">plai</span>:1:3)).<br><br>Then upon this code in the PLAI book, PLT fired an error saying "expand: unbound identifier in module in: num"<br>
<br>(define (parse sexp)<br> (cond<br> [(number? sexp) (num sexp)]<br> [(list? sexp)<br> (case (first sexp)<br> [(+) (add (parse (second sexp))<br> (parse (third sexp)))]<br> [(-) (sub (parse (second sexp))<br>
(parse (third sexp)))])]))<br><br>Is the reader supposed to write num (and add/sub) to make everything work then?<br><br>Thanks,<br>Pan, Xingzhi<br><br><br><div class="gmail_quote">2009/6/15 Neil Van Dyke <span dir="ltr"><<a href="mailto:neil@neilvandyke.org">neil@neilvandyke.org</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Shriram Krishnamurthi wrote at 06/14/2009 10:54 PM:<div class="im"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Or perhaps the system should behave better? I think you have it backward. 128 Mb seems like perfectly enough memory to *install a package* (and build its docs). (I am actually surprised that this has *memory* problems, as opposed to being entirely i/o bound.)<br>
<br>
</blockquote>
<br></div>
It might just be that documentation-building could stand some more optimization:<br>
<br>
<a href="http://list.cs.brown.edu/pipermail/plt-dev/2009-May/000933.html" target="_blank">http://list.cs.brown.edu/pipermail/plt-dev/2009-May/000933.html</a><br>
<br>
Or perhaps some PLaneT code is doing something like sucking a file into memory. (Last year, I reimplemented some of the HTTP functionality to, among other things, get rid of at least one place where big-file-sucking happens, but I don't think that particular functionality is involved in PLaneT installs.)<div class="im">
<br>
<br>
-- <br>
<a href="http://www.neilvandyke.org/" target="_blank">http://www.neilvandyke.org/</a><br>
<br>
_________________________________________________<br>
For list-related administrative tasks:<br></div><div><div></div><div class="h5">
<a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme" target="_blank">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a><br>
</div></div></blockquote></div><br>