Subject: Re: READ-SEQUENCE
From: Erik Naggum <erik@naggum.no>
Date: 1995/08/11
Newsgroups: comp.lang.lisp
Message-ID: <19950811T114713Z@naggum.no>

[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.)

#<Erik 3017130433>
-- 
#<Xyzzy 202B370B73>