[m-rev.] for review: automatic_include declaration

Simon Taylor stayl at cs.mu.OZ.AU
Sun Nov 18 17:59:48 AEDT 2001


On 17-Nov-2001, Peter Ross <peter.ross at miscrit.be> wrote:
> 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.

`include' implies doing an `include_module', which doesn't make sense.

Simon.
--------------------------------------------------------------------------
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