[m-dev.] for review: allow separate mode decls for zero arity preds

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Aug 30 18:54:34 AEST 1999


On 30-Aug-1999, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> 
> Allow separate mode declarations for predicates with no arguments
> (previously they were considered to be duplicate mode declarations).
> This avoids the need to special case such predicates when writing
> out declarations for inter-module optimization. 

I think that change is a good idea.
Your diff looks fine.

It's probably worth documenting this in the language reference manual.

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