[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Streams
- To: common-lisp@sail.stanford.edu
- Subject: Streams
- From: rauen@CLS.LCS.MIT.EDU (James R. Rauen)
- Date: Wed, 22 Apr 1987 16:54:00 -0000
I'm encountering some difficulties with synonym streams. Let's say I
do the following:
(defvar a *standard-input*)
(defvar b *standard-output*)
(defvar c (make-synonym-stream 'a))
(defvar d (make-synonym-stream 'b))
(defvar e (make-two-way-stream c d))
(setq a *standard-output*)
Now stream C has been turned into an output stream. What is E now?
What does it answer to INPUT-STREAM-P? I can also cause trouble by
changing the value of a synonym stream's variable from a character
stream to a byte stream.
--Jim
- Follow-Ups:
- Streams
- From: Robert W. Kerns <RWK@YUKON.SCRC.Symbolics.COM>