+7
−6
Loading
because it doesn't handle vectors whose elements are all characters.
Hence put back the special case for SIMPLE-ARRAY and make the VECTOR
case use WRITE-INTO-VECTOR.
Same issue with READ-SEQUENCE.
A test case:
(let ((s (make-array 10 :initial-contents "abcde " :fill-pointer 5)))
(with-output-to-string (os)
(assert (eq (write-sequence s os) s))))