Cons.st
changeset 1377 150000bb9d20
parent 1248 2d0493cd8d3c
child 1623 d93980e41a6a
--- a/Cons.st	Mon Dec 08 17:42:21 2003 +0100
+++ b/Cons.st	Tue Dec 09 15:26:02 2003 +0100
@@ -44,8 +44,7 @@
         Cons car:a cdr:b
 
     Conses are not heavily used by Smalltalk (actually: not at all).
-    Consider this mostly a demo class.
-
+    Consider this a demo class.
 
     [author:]
         Claus Gittinger
@@ -378,8 +377,14 @@
     "
 ! !
 
+!Cons methodsFor:'streaming'!
+
+readStream
+    ^ ConsStream on:self.
+! !
+
 !Cons class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/Cons.st,v 1.6 2003-06-16 09:27:22 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic2/Cons.st,v 1.7 2003-12-09 14:26:02 cg Exp $'
 ! !