<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Georgia">For the historically-obsessed,<br>
<br>
Change Set: 069EOS-hh (really2192</font><font
face="Georgia"><font face="Georgia">EOS-hh)<br>
</font>Date: 18 May 2000<br>
Author: Helge Horch<br>
Requires: Squeak 2.8a<br>
<br>
Modifies ReadStream>>next to signal an Error (EndOfStream)
on attempts to read<br>
at or beyond the end of the stream. Thanks to Bob Arning (who is
silently credited<br>
in the stamps <g>), existing applications relying on seeing
nils should not be<br>
affected.<br>
<br>
Change Set: 102ReadStreamUndo-sma (really 2272</font><font
face="Georgia"><font face="Georgia">ReadStreamUndo-sma)<br>
</font>Date: 1 June 2000<br>
Author: Stefan Matthias Aust<br>
<br>
Undo #2192. The consequences of raising an exception for EOF
during ReadStream>>next should be worked out in 2.9a but not
for 2.8.<br>
<br>
<br>
and, AFAIK, that was the end of that.<br>
<br>
Cheers,<br>
Bob<br>
<br>
</font>
<div class="moz-cite-prefix">On 7/22/13 12:09 PM, Chris Muller
wrote:<br>
</div>
<blockquote
cite="mid:CANzdToES7-Kiik0sWORMD0FxvCAcEXvxdcisQn4YEsYEqkMk3w@mail.gmail.com"
type="cite">
<pre wrap="">What if a system needs to allow nil objects in a Stream of objects and
have it be treated as just another object in the stream rather than
the EOS marker?
So, maybe ReadStream>>#next _should_ be signaling EndOfStream, so the
sender of #next can know the difference in that scenario. Since the
defaultAction is ^nil, presumably we could simply change #next to do
that with no breakage...
On Mon, Jul 22, 2013 at 9:02 AM, Frank Shearar <a class="moz-txt-link-rfc2396E" href="mailto:frank.shearar@gmail.com"><frank.shearar@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">EndOfStream has no references in the base image. It claims to be used
by ReadStream >> #next, but that's not true.
Time to die/deprecate?
frank
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
</body>
</html>