trivial diff: define `int:is/2' in Mercury
Lee Naish
lee at cs.mu.OZ.AU
Tue Mar 23 12:41:24 AEDT 1999
Fergus Henderson <fjh at cs.mu.OZ.AU> writes:
> :- pragma obsolete(is/2,
> "This predicate has moved to the `prolog' module.").
>However, this still wouldn't solve the problem with is/2.
Sounds like you want to issue a warning if (and preferably only if)
is/2 has an explicit module qualifier or the prolog module is not used.
The warning should be something like
"This predicate will be moved to the `prolog' module in a future release."
Getting the "only if" condition precise might require a new pragma, or
you could live with extra warnings.
lee
More information about the developers
mailing list