> > No surprise, I would argue that we proceed, and would also include a
> rename of #next to #nextOrNil and #next: to #nextAvailable:.  All code in
> the image at the time should work as before.
>
>  What would be the impact on code that is not in the image? Would all
> external packages need to be adapted as well or would the current semantics
> be preserved?

I suggest to implement #next so that it throws an EndOfStream
notification. The default action would return nil, so no existing code
needs to be changed. People that want to use exceptions capture the
notification.

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to