[m-rev.] for review: automatic_include declaration

Simon Taylor stayl at cs.mu.OZ.AU
Tue Nov 20 03:01:44 AEDT 2001


On 19-Nov-2001, Peter Ross <peter.ross at miscrit.be> wrote:
> On Sat, Nov 17, 2001 at 02:17:26AM +1100, Simon Taylor wrote:
> > On 16-Nov-2001, Peter Ross <peter.ross at miscrit.be> wrote:
> > > Estimated hours taken: 4
> > > Branches: main
> > > 
> > > 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.
> > 
> > > compiler/modules.m:
> > >     When reading in short and long interfaces recursively read in any
> > >     modules specified by an `:- automatic_include' declaration.
> > >     Check that any `:- automatic_include' declaration in the interface
> > >     refers to an existing visible sub-module.
> > 
> > You haven't fixed `mmc --generate-dependencies' to handle the extra
> > dependencies on `.int' files.
> 
> How does this look?

I think it's a waste of time to review this until we work out
what exactly should be implemented.

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