Re: [Haskell-cafe] stream interface vs string interface: references

2013-09-03 Thread oleg
> For lazy I/O, using shows in Haskell is a good analogue of using > #printOn: in Smalltalk. The basic form is "include this as PART of > a stream", with "convert this to a whole string" as a derived form. > > What the equivalent of this would be for Iteratees I don't yet > understand. Why not t

Re: [Haskell-cafe] stream interface vs string interface: references

2013-09-03 Thread damodar kulkarni
Thank you very much for the detailed explanation. It surely was an enlightenment for me. Especially the comments Java makes "obtain print version as a string" the basic form and "append > print version to output stream" a derived form. > Smalltalk makes "append print version to output stream" > t

Re: [Haskell-cafe] stream interface vs string interface: references

2013-09-02 Thread Richard A. O'Keefe
On 3/09/2013, at 5:17 PM, damodar kulkarni wrote: > I didn't want to clutter that thread so I am asking a question here. > Where do I find foundational and/or other good references on the topic of > "stream interface vs string interface to convert objects to text"? I tried > google but failed.