[m-dev.] pedantic quibble...

Fergus Henderson fjh at cs.mu.OZ.AU
Sat Dec 18 12:09:46 AEDT 1999


On 18-Dec-1999, Michael Day <mcda at cat.cs.mu.OZ.AU> wrote:
> 
> So, why do :- import, :- include, :- use and :- end have a superfluous
> '_module' tacked onto the end of them?

In my original design for a module system, it was possible to import
individual entities, rather than whole modules.
So there were also declarations `:- import_pred',
`:- import_func', `:- import_type', etc.

See compiler/notes/module_system.html.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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