would it make sense to have ZnCharacterReadStream and other readstream reply to readstream
Hi sven I like the pattern on: aStringOrStream | stream | stream := aStringOrStream readStream but I cannot apply with Zn because ZnCharacterReadStream and friends do not answer readstream What is your point of view on it. S. -------------------------------------------- Stéphane Ducasse http://stephane.ducasse.free.fr / http://www.pharo.org 03 59 35 87 52 Assistant: Julie Jonas FAX 03 59 57 78 50 TEL 03 59 35 86 16 S. Ducasse - Inria 40, avenue Halley, Parc Scientifique de la Haute Borne, Bât.A, Park Plaza Villeneuve d'Ascq 59650 France
Yes, I know the pattern and yes it would make sense. I will study this a bit.
On 13 May 2020, at 17:21, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Hi sven
I like the pattern
on: aStringOrStream
| stream | stream := aStringOrStream readStream
but I cannot apply with Zn because ZnCharacterReadStream and friends do not answer readstream
What is your point of view on it.
S. -------------------------------------------- Stéphane Ducasse http://stephane.ducasse.free.fr / http://www.pharo.org 03 59 35 87 52 Assistant: Julie Jonas FAX 03 59 57 78 50 TEL 03 59 35 86 16 S. Ducasse - Inria 40, avenue Halley, Parc Scientifique de la Haute Borne, Bât.A, Park Plaza Villeneuve d'Ascq 59650 France
https://github.com/svenvc/zinc/commit/7a4b4bda502092186d03b467dc6baf9d1a76ba...
On 13 May 2020, at 17:49, Sven Van Caekenberghe <sven@stfx.eu> wrote:
Yes, I know the pattern and yes it would make sense. I will study this a bit.
On 13 May 2020, at 17:21, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Hi sven
I like the pattern
on: aStringOrStream
| stream | stream := aStringOrStream readStream
but I cannot apply with Zn because ZnCharacterReadStream and friends do not answer readstream
What is your point of view on it.
S. -------------------------------------------- Stéphane Ducasse http://stephane.ducasse.free.fr / http://www.pharo.org 03 59 35 87 52 Assistant: Julie Jonas FAX 03 59 57 78 50 TEL 03 59 35 86 16 S. Ducasse - Inria 40, avenue Halley, Parc Scientifique de la Haute Borne, Bât.A, Park Plaza Villeneuve d'Ascq 59650 France
participants (2)
-
Stéphane Ducasse -
Sven Van Caekenberghe