[m-dev.] module system discussion

Peter Ross peter.ross at miscrit.be
Wed Dec 12 22:21:37 AEDT 2001


On Tue, Dec 11, 2001 at 12:53:25PM +1100, Fergus Henderson wrote:
> Another question: if the `:- transparent_module' extension was added to
> Mercury, what guidelines should we give Mercury developers about when to
> use transparent sub-modules and when to use ordinary (opaque) sub-modules?
> 
> As defender of language minimalism, my personal take on that would
> be to advise Mercury developers to always use ordinary sub-modules,
> and never use transparent sub-modules... in which case, of course,
> we should not add the `:- transparent_module' extension ;-)
> 
You should use transparent sub-modules when you need to avoid namespace
conflicts, but the entities you wish to qualify belong conceptually
together.
--------------------------------------------------------------------------
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