Ken Tilton <kentilton@gmail.com> wrote:
+---------------
| Rob Warnock wrote:
| > Ken Tilton <kentilton@gmail.com> wrote:
| > +---------------
| > | That was mine until I remembered a requirement that the solution be
| > | "side-effect safe", which I assume is a misreporting of the teacher's
| > | requirement that it be "side-effect free".
| > +---------------
| >
| > I didn't read it that way, which is why I thought using LOOP...COLLECT
| > would be fine.
| > To me, "side-effect safe" meant that the *inputs* were to be safe
| > from side effects...
|
| Are you trying to say "non-destructive"? :)
+---------------
Yeah, probably, as in "safe to pass quoted constants to".
+---------------
| Your guess is as good as mine (literally!), we won't know until the OP
| starts a "Lisp Sucks" blog blaming you setf-happy people for his
| flunking out of school and ending up living under a bridge in Florida.
+---------------
As I pointed out, one can't be *sure* that LOOP...COLLECT uses SETFs
under the hood in the student's CL implementation. It doesn't *have* to.
+---------------
| Hope yer happy!
+---------------
Happy, happy, joy, joy, John Spartan! May you have a tranquil day!
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607