Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!munnari.oz.au!goanna!ok From: ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe) Newsgroups: comp.lang.scheme Subject: Re: Macros Message-ID: <6083@goanna.cs.rmit.oz.au> Date: 3 Jun 91 06:17:47 GMT Article-I.D.: goanna.6083 References: <1490@yoakum.cs.utexas.edu> <6055@goanna.cs.rmit.oz.au> Organization: Comp Sci, RMIT, Melbourne, Australia Lines: 18 In article , jinx@zurich.ai.mit.edu (Guillermo J. Rozas) writes: > In article <6055@goanna.cs.rmit.oz.au> ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe) writes: > Yes, it's important that it be done right. But old kludges may > be allowed to hang around. Scheme still has set-cdr! and string-set! > What do you mean? I mean simply that set-cdr! and string-set! are old and that they are kludges. They are needed mostly because you have to fill in all the details when you make an object, and if you haven't the right values yet, you have to supply wrong values and fix them up later. Scheme's alternative to set-cdr! is streams (my version of which uses set-cdr!, but that's "implementation level"). Compile- time garbage collection may be the answer to string-set!. -- Should you ever intend to dull the wits of a young man and to incapacitate his brains for any kind of thought whatever, then you cannot do better than give him Hegel to read. -- Schopenhauer.