[m-dev.] for review: stream I/O

Michael Day mcda at students.cs.mu.oz.au
Wed Oct 4 23:17:41 AEDT 2000


> Also, I don't see why I need to involve the io__state when I'm setting up,
> say, a string stream.

You don't - if string is an instance of one of the stream type classes
then you can read or write to it directly, pass it in where a stream is
expected, whatever. No set up should be required. (Though given the
efficiency concerns of appending to strings maybe this will change).

Michael


--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list