CLCS
Function

make-concatenated-stream

make-concatenated-stream &rest input-streams ⇒ concatenated-stream

Arguments and Values

input-streaman input stream.
concatenated-streama concatenated stream.

Description

Returns a concatenated stream that has the indicated input-streams initially associated with it.

Examples

 (read (make-concatenated-stream
         (make-string-input-stream "1")
         (make-string-input-stream "2"))) ⇒  12

Exceptional Situations

Should signal type-error if any argument is not an input stream.