[m-dev.] io streams

Michael Day mcda at cat.cs.mu.OZ.AU
Thu Dec 23 20:48:22 AEDT 1999


> Now that we're not using Prolog, it might be nicer (i.e. more
> concise and not significantly less clear) for each module to
> only module-qualify the symbols from other modules.

Sounds good to me, I'll see how it reads in my modules. Sometimes it feels
right to module qualify, but that could just indicate a deficient and
insufficiently expressive name for a particular symbol..

> When we put everything in the `std' module, we don't need to add `std'
> prefixes to all the declarations in the standard library.  That would
> be a significant increase in verbosity for very little increase in
> clarity.  After all, the standard library's interface doesn't depend
> on any other library, so if we were to add such prefixes then _every_ symbol
> in the interface of the standard library would need a `std' prefix.

Do we need to make all the module files begin with std.* ?

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