[m-dev.] for review: type specialization and functions

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Oct 14 14:20:11 AEST 1999


On 14-Oct-1999, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> > 
> > I think this code won't properly handle the case where the function name
> > is overloaded.  I think you need to use a fully-qualified SymName,
> > to avoid ambiguity, but the one you are passing here might not be
> > fully-qualified.
> 
> It is always fully-qualified - the code in prog_io_pragma.m uses
> parse_implicitly_qualified_term which attaches the current module name
> on the name of the specialized predicate, checking that any module
> name that the programmer specified matches. 

OK, in that case I think this change is fine.

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