Changeset 5311


Ignore:
Timestamp:
Oct 7, 2006, 10:14:41 AM (18 years ago)
Author:
Gary Byers
Message:

INPUT-STREAM-P, OUTPUT-STREAM-P are true of instances if INPUT-STREAM/
OUTPUT-STREAM, respectively (not just instances of
FUNDAMENTAL-INPUT/OUTPUT-STREAM).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/level-1/l1-streams.lisp

    r5306 r5311  
    28162816  (report-bad-arg x 'stream))
    28172817                           
    2818 (defmethod input-stream-p ((s fundamental-input-stream))
     2818(defmethod input-stream-p ((s input-stream))
    28192819  t)
    28202820
     
    28222822  (report-bad-arg x 'stream))
    28232823
    2824 (defmethod output-stream-p ((s fundamental-input-stream))
    2825   (typep s 'fundamental-output-stream))
    2826 
    2827 (defmethod output-stream-p ((s fundamental-output-stream))
     2824(defmethod output-stream-p ((s input-stream))
     2825  (typep s 'output-stream))
     2826
     2827(defmethod output-stream-p ((s output-stream))
    28282828  t)
    28292829
    2830 (defmethod input-stream-p ((s fundamental-output-stream))
    2831   (typep s 'fundamental-input-stream))
     2830(defmethod input-stream-p ((s output-stream))
     2831  (typep s 'input-stream))
    28322832
    28332833(defclass binary-stream (stream)
Note: See TracChangeset for help on using the changeset viewer.