From ... From: Erik Naggum Subject: Re: `loop' and arrays Date: 1998/08/02 Message-ID: <3111045203808728@naggum.no>#1/1 X-Deja-AN: 377178514 References: mail-copies-to: never Organization: Naggum Software; +47 8800 8879; http://www.naggum.no Newsgroups: comp.lang.lisp * Marco Antoniotti | CLtL2 and ANSI warn against changing the structure being iterated over. | You are asking for trouble. hm? the relevant warnings explicitly allow changing the values without changing the structure. if you traverse a list, you can change the CARs, but not the CDRs. if you traverse a hash table, you can change the value for the given key, even delete it, but not any others. etc. it's kind of hard to change the structure of a vector you're traversing, though. #:Erik -- http://www.naggum.no/spam.html is about my spam protection scheme and how to guarantee that you reach me. in brief: if you reply to a news article of mine, be sure to include an In-Reply-To or References header with the message-ID of that message in it. otherwise, you need to read that page.