[m-rev.] for review: automatic_include declaration

Peter Ross peter.ross at miscrit.be
Sun Nov 18 01:30:16 AEDT 2001


Simon wrote:

> On 17-Nov-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> > On 17-Nov-2001, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> > > On 16-Nov-2001, Peter Ross <peter.ross at miscrit.be> wrote:
> > > > Add the `:- automatic_include' declaration.
> > > >
> > > > This declaration allows one to automatically import a sub-module
when
> > > > the parent module is imported.
> > >
> > > I think `:- automatic_import' would be a better name.
> >
> > I'm not really very keen on this extension,
> > but as far as names are concerned, I'd go for `:- auto_import'.
>
> I'd prefer `:- auto_import_module', for consistency with the other
> module system declarations.
>
import to me implies doing an import_module, while sometime we are doing a
use_module, that is why I choose include.  However if I changed I would use
auto_import.

Pete

--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list