From ... From: Erik Naggum Subject: Re: READ-SEQUENCE Date: 1995/08/11 Message-ID: <19950811T114713Z@naggum.no>#1/1 X-Deja-AN: 107984089 references: <19950810T145726Z@naggum.no> organization: Naggum Software; +47 2295 0313 newsgroups: comp.lang.lisp [Pete Halverson] | As long as someone else brought up this particular subject, I've been | wondering about the intended interaction of READ-SEQUENCE with | fill-pointers | | - if SEQUENCE is a vector with a fill-pointer, is it altered by | READ-SEQUENCE? | - if SEQUENCE is also an adjustable vector, and its size is <= END, | is the SEQUENCE extended (as if the elements were added by use of | VECTOR-PUSH-EXTEND) or is it an error? (signallable or not) | | Or does READ-SEQUENCE, like the other general sequence funs, only | operate on the active length of SEQUENCE, reads past the fill-pointer | being in error? if being a language-lawyer for some other standards is a transferable trait (I fear it is), my reading of `read-sequence' is that it "destructively modifies" an existing subsequence, as opposed to "creatively modifying" it such as moving fill-pointers and extending adjustable vectors. (note: the term "creatively modify" is not in the standard.) # -- #