[m-dev.] string streams and formatting

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Jan 20 11:34:24 AEDT 2000


On 19-Jan-2000, Michael Day <mcda at cat.cs.mu.OZ.AU> wrote:
> 
> What I'm really
> looking for here is comments on the approach I've taken towards output,
> replacing write and write_binary with a single write. It works for me.
> Does it have any crippling flaws that other people can see? Is it too hard
> to use? Is it unclear? Is it inflexible?

One of the intentions behind the existing design was to use the
static type system to provide improved error detection, in particular
detecting if you try to do text output on a binary stream or
vice versa.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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